summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-04 11:28:30 -0400
committerKali Kaneko <kali@leap.se>2016-03-04 11:30:21 -0400
commit470d24ec886adedae6d47e684ab1dc14aa2c21ea (patch)
tree1fcdf1bbb62902fc7ecff0e23371c1a43f9f6679
parent9a658c81619af892a4b29e0122cd1c1ba2e428e4 (diff)
[style] pep8
-rw-r--r--src/leap/bitmask/_version.py2
-rw-r--r--versioneer.py5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/bitmask/_version.py b/src/leap/bitmask/_version.py
index 93700af1..8c507c92 100644
--- a/src/leap/bitmask/_version.py
+++ b/src/leap/bitmask/_version.py
@@ -155,7 +155,7 @@ def git_versions_from_keywords(keywords, tag_prefix, verbose):
# "stabilization", as well as "HEAD" and "master".
tags = set([r for r in refs if re.search(r'\d', r)])
if verbose:
- print("discarding '%s', no digits" % ",".join(refs-tags))
+ print("discarding '%s', no digits" % ",".join(refs - tags))
if verbose:
print("likely tags: %s" % ",".join(sorted(tags)))
for ref in sorted(tags):
diff --git a/versioneer.py b/versioneer.py
index c010f63e..89194938 100644
--- a/versioneer.py
+++ b/versioneer.py
@@ -975,7 +975,7 @@ def git_versions_from_keywords(keywords, tag_prefix, verbose):
# "stabilization", as well as "HEAD" and "master".
tags = set([r for r in refs if re.search(r'\d', r)])
if verbose:
- print("discarding '%s', no digits" % ",".join(refs-tags))
+ print("discarding '%s', no digits" % ",".join(refs - tags))
if verbose:
print("likely tags: %s" % ",".join(sorted(tags)))
for ref in sorted(tags):
@@ -1459,6 +1459,7 @@ def get_cmdclass():
from distutils.command.build_py import build_py as _build_py
class cmd_build_py(_build_py):
+
def run(self):
root = get_root()
cfg = get_config_from_root(root)
@@ -1477,6 +1478,7 @@ def get_cmdclass():
from cx_Freeze.dist import build_exe as _build_exe
class cmd_build_exe(_build_exe):
+
def run(self):
root = get_root()
cfg = get_config_from_root(root)
@@ -1506,6 +1508,7 @@ def get_cmdclass():
from distutils.command.sdist import sdist as _sdist
class cmd_sdist(_sdist):
+
def run(self):
versions = get_versions()
self._versioneer_generated_versions = versions