summaryrefslogtreecommitdiff
path: root/versioneer.py
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 /versioneer.py
parent9a658c81619af892a4b29e0122cd1c1ba2e428e4 (diff)
[style] pep8
Diffstat (limited to 'versioneer.py')
-rw-r--r--versioneer.py5
1 files changed, 4 insertions, 1 deletions
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