Skip to content
Snippets Groups Projects
Commit a05046c6 authored by Dicson's avatar Dicson
Browse files

fix version string

parent d35a6249
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,8 @@ import subprocess
try:
node = subprocess.Popen('hg tip --template "{node|short}"', shell=True,
stdout=subprocess.PIPE).communicate()[0]
version += '-' + node
if node:
version += '-' + node
except Exception:
pass
......
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