1
0
Fork 0
forked from 0x2620/oxjs

move to git

This commit is contained in:
j 2015-11-15 12:48:50 +01:00
commit a6774f331c
3 changed files with 12 additions and 3 deletions

View file

@ -18,9 +18,7 @@ def get_version():
revision = subprocess.Popen(
['git', 'rev-list', 'HEAD', '--count'], stdout=subprocess.PIPE
).communicate()[0].strip().decode('utf-8')
print(revision)
revision = int(revision) - 94
print(revision)
else:
revision = subprocess.Popen(
['bzr', 'revno'], stdout=subprocess.PIPE