We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c23349e commit e0a7781Copy full SHA for e0a7781
eve_mongoengine/__version__.py
@@ -1,8 +1,12 @@
1
# Project Version
2
3
+# This file must remain compatible with
4
+# both Python >= 2.6 and Python 3.3+
5
+
6
VERSION = (0, 1, 0) # 0.1.0
7
8
def get_version():
- if isinstance(VERSION[-1], basestring):
- return '.'.join(map(str, VERSION[:-1])) + VERSION[-1]
- return '.'.join(map(str, VERSION))
9
+ if isinstance(VERSION[-1], int):
10
+ return '.'.join(map(str, VERSION))
11
+ return '.'.join(map(str, VERSION[:-1])) + VERSION[-1]
12
0 commit comments