Skip to content

Commit 25edf54

Browse files
committed
Also strip at the beginning
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at> (cherry picked from commit 2eca243)
1 parent ec73209 commit 25edf54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def git_describe_to_python_version(version):
8888
# get version from git describe
8989
proc = subprocess.Popen(['git', 'describe', '--tags'],
9090
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
91-
stdout = proc.communicate()[0].rstrip()
91+
stdout = proc.communicate()[0].strip()
9292
if sys.version_info[0] > 2:
9393
stdout = stdout.decode('ascii')
9494

0 commit comments

Comments
 (0)