Skip to content
Snippets Groups Projects
Verified Commit eec595de authored by Lars Bilke's avatar Lars Bilke
Browse files

[wheel] Removed unnecessary else statements.

parent d65f121a
No related branches found
Tags 6.3.2
No related merge requests found
......@@ -29,11 +29,10 @@ def get_version():
m = re.match(".+?(?=-g[\w]*$)", git_version) # strip out commit hash
if m:
return m.group(0).replace("-", ".dev") # insert dev
else:
print("WARNING: Could not get ogs version!")
exit(1)
else:
return git_version
print("ERROR: Could not get ogs version!")
exit(1)
return git_version
sys.path.append(os.path.join("Applications", "Python"))
......
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