Skip to content
Snippets Groups Projects
Commit 7ca30fd7 authored by Nick Bearson's avatar Nick Bearson
Browse files

remove a trailing newline in our version number

parent 2cf618c9
No related branches found
No related tags found
1 merge request!6Resolve "add tracability attributes to grid (and maybe tile) files"
...@@ -191,7 +191,7 @@ def grid_setup(args, work_dir=os.getcwd()): ...@@ -191,7 +191,7 @@ def grid_setup(args, work_dir=os.getcwd()):
def get_cspp_gglm_version(): def get_cspp_gglm_version():
try: try:
version_filename = os.path.join(os.getenv('CSPP_GEO_GGLM_HOME'), ".VERSION.txt") version_filename = os.path.join(os.getenv('CSPP_GEO_GGLM_HOME'), ".VERSION.txt")
return open(version_filename, 'r').read() return open(version_filename, 'r').read().rstrip()
except: except:
return "unknown" return "unknown"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment