this_version.py: fix building out of git repo
authorPaul Brossier <piem@piem.org>
Thu, 23 Mar 2017 17:31:42 +0000 (18:31 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 23 Mar 2017 17:31:42 +0000 (18:31 +0100)
this_version.py

index 903c16d..59bc65b 100644 (file)
@@ -60,7 +60,7 @@ def get_aubio_pyversion():
         pep440str = aubio_version.replace('+', '.')
         verstr = pep440str.replace('~git.', 'a0+')
     elif '~alpha' in aubio_version:
-        verstr += "a0"
+        verstr = "a0"
     return verstr
 
 def get_git_revision_hash(short=True):