forked from 0x2620/oxjs
move to git
This commit is contained in:
parent
511a5267b5
commit
a6774f331c
3 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue