fix version string
This commit is contained in:
parent
d35a62493a
commit
a05046c69b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue