8000 PEP8 compatible with 2to3. · drinkingjava/python-versioneer@a6dbe02 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6dbe02

Browse files
rhattersleywarner
authored andcommitted
PEP8 compatible with 2to3.
1 parent 7d27044 commit a6dbe02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/git/from_vcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def git_versions_from_vcs(tag_prefix, root, verbose=False):
1919
return {}
2020
if not stdout.startswith(tag_prefix):
2121
if verbose:
22-
print("tag '%s' doesn't start with prefix '%s'" % (stdout,
23-
tag_prefix))
22+
fmt = "tag '%s' doesn't start with prefix '%s'"
23+
print(fmt % (stdout, tag_prefix))
2424
return {}
2525
tag = stdout[len(tag_prefix):]
2626
stdout = run_command(GITS, ["rev-parse", "HEAD"], cwd=root)

0 commit comments

Comments
 (0)
0