rev is a string

This commit is contained in:
j 2015-11-15 15:11:20 +01:00
parent c5f5262a96
commit 2e38e46cb4

View file

@ -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