Remove extraneous whitespace after git hash.
This commit is contained in:
parent
430c4b1536
commit
21df33993b
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue