From 2e38e46cb42b0506b4ffa55751ab381a67748a29 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 15 Nov 2015 15:11:20 +0100 Subject: [PATCH] rev is a string --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 112ceff..b2a9f59 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def get_version(): if os.path.exists(_git): rev = get_revision() if rev: - version = "2.3.%d" % rev + version = "2.3.%s" % rev with open(__version, 'w') as fd: fd.write('VERSION="%s"'%version) return version