fix version string
This commit is contained in:
parent
d35a62493a
commit
a05046c69b
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ import subprocess
|
||||||
try:
|
try:
|
||||||
node = subprocess.Popen('hg tip --template "{node|short}"', shell=True,
|
node = subprocess.Popen('hg tip --template "{node|short}"', shell=True,
|
||||||
stdout=subprocess.PIPE).communicate()[0]
|
stdout=subprocess.PIPE).communicate()[0]
|
||||||
version += '-' + node
|
if node:
|
||||||
|
version += '-' + node
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue