Remove extraneous whitespace after git hash.

This commit is contained in:
Emmanuel Gil Peyrot 2017-01-03 21:17:30 +00:00
parent 430c4b1536
commit 21df33993b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ try:
node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
stdout=subprocess.PIPE).communicate()[0]
if node:
version += '-' + node.decode('utf-8')
version += '-' + node.decode('utf-8').strip()
except Exception:
pass