Fix VERSION

This commit is contained in:
Ross Lawley
2012-08-24 16:36:17 +01:00
parent d645ce9745
commit 6e7f2b73cf
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ except:
def get_version(version_tuple):
if isinstance(version_tuple[-1], basestring):
if not isinstance(version_tuple[-1], int):
return '.'.join(map(str, version_tuple[:-1])) + version_tuple[-1]
return '.'.join(map(str, version_tuple))