Merge branch 'version-trailing-whitespace' into 'master'

Remove extraneous whitespace after git hash

See merge request !18
This commit is contained in:
Yann Leboulanger 2017-01-03 22:20:30 +01:00
commit 4e7bd1fc39
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, node = subprocess.Popen('git rev-parse --short=12 HEAD', shell=True,
stdout=subprocess.PIPE).communicate()[0] stdout=subprocess.PIPE).communicate()[0]
if node: if node:
version += '-' + node.decode('utf-8') version += '-' + node.decode('utf-8').strip()
except Exception: except Exception:
pass pass