Commits

Michael Manfre committed 0f84136 Merge

Merge 1.0.X

Comments (0)

Files changed (2)

 a8e98b9c25b4b08ea495e01714dbb01bb9d5a69e legacy-1.0
 f4838fc9f5fd0f5f998c9178ad13a74b83bfd04f legacy-1.1
-6256f9d161ebecf6d7ff4fa6e86e5bd24e557be2 releases/1.0.1
+d36449ed60ef96b247f631646e8baff976eeba36 releases/1.0.0

sqlserver_ado/__init__.py

 import os.path
 
-VERSION = (1, 0, 1, 'stable')
+VERSION = [1, 0, 1, 'stable']
 
 
 def get_version():
         except:
             # mercurial module missing or repository not found
             build_info = 'dev-unknown'
-    v = VERSION[:VERSION.index('dev')] + (build_info,)
+        v = VERSION[:-1] + [build_info]
+    else:
+        v = VERSION[:-1]
     return '.'.join(map(str, v))