rev is a string
This commit is contained in:
parent
c5f5262a96
commit
2e38e46cb4
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -20,7 +20,7 @@ def get_version():
|
||||||
if os.path.exists(_git):
|
if os.path.exists(_git):
|
||||||
rev = get_revision()
|
rev = get_revision()
|
||||||
if rev:
|
if rev:
|
||||||
version = "2.3.%d" % rev
|
version = "2.3.%s" % rev
|
||||||
with open(__version, 'w') as fd:
|
with open(__version, 'w') as fd:
|
||||||
fd.write('VERSION="%s"'%version)
|
fd.write('VERSION="%s"'%version)
|
||||||
return version
|
return version
|
||||||
|
|
Loading…
Reference in a new issue