summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-05-18 12:12:29 -0400
committerKali Kaneko <kali@leap.se>2016-05-18 12:12:29 -0400
commit1d634912bedb4785c48b331465a90fc1c604bba8 (patch)
tree93c3d20e9c77c1813756125fac5e7318330389ff /src
parent811410d24215fb0539f1f0047bf0c621389b3423 (diff)
freeze debian versiondebian/experimental
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/_version.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/leap/mail/_version.py b/src/leap/mail/_version.py
index aa27369..b0fe975 100644
--- a/src/leap/mail/_version.py
+++ b/src/leap/mail/_version.py
@@ -5,10 +5,17 @@
# unpacked source archive. Distribution tarballs contain a pre-generated copy
# of this file.
-version_version = '0.4.2'
-full_revisionid = '13c90f8d2d05f9d22efc7d88bbb2713c0a343d16'
+import json
+import sys
+version_json = '''
+{
+ "dirty": false,
+ "error": null,
+ "full-revisionid": "811410d24215fb0539f1f0047bf0c621389b3423",
+ "version": "0.4.2"
+}
+''' # END VERSION_JSON
-def get_versions(default={}, verbose=False):
- return {'version': version_version,
- 'full-revisionid': full_revisionid}
+def get_versions():
+ return json.loads(version_json)