diff options
author | Kali Kaneko <kali@leap.se> | 2015-08-03 14:27:48 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-08-03 14:27:48 -0400 |
commit | a778140a3dfa2907d2e1d45cfa87ee3b2dd5329a (patch) | |
tree | db4b3587b6295730e059279925cbb97fbdb7cb7b /src/leap/mail/_version.py | |
parent | f27ad9a3fdb2a6746ddb13fe4c117614c4b59364 (diff) | |
parent | 5027dd2dd3c7679a7eea025d838a7d472c355623 (diff) |
Merge remote-tracking branch 'leapcode/pr/188' into develop
Diffstat (limited to 'src/leap/mail/_version.py')
-rw-r--r-- | src/leap/mail/_version.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/leap/mail/_version.py b/src/leap/mail/_version.py index d80ec47..b77d552 100644 --- a/src/leap/mail/_version.py +++ b/src/leap/mail/_version.py @@ -1,3 +1,7 @@ +import subprocess +import sys +import re +import os.path IN_LONG_VERSION_PY = True # This file helps to compute a version number in source trees obtained from @@ -14,10 +18,6 @@ git_refnames = "$Format:%d$" git_full = "$Format:%H$" -import subprocess -import sys - - def run_command(args, cwd=None, verbose=False): try: # remember shell=False, so use git.cmd on windows, not just git @@ -38,11 +38,6 @@ def run_command(args, cwd=None, verbose=False): return stdout -import sys -import re -import os.path - - def get_expanded_variables(versionfile_source): # the code embedded in _version.py can just fetch the value of these # variables. When used from setup.py, we don't want to import |