Commit 142ff1ec authored by Federico G. Schwindt's avatar Federico G. Schwindt

Strip whitespaces from the version as well

parent a95ff276
......@@ -1392,6 +1392,7 @@ if os.path.isdir(os.path.join(srcroot, ".git")):
"git --git-dir=" + os.path.join(srcroot, ".git") +
" show -s --pretty=format:%h"
], shell=True, universal_newlines=True)
v = v.strip()
b = subprocess.check_output([
"git --git-dir=" + os.path.join(srcroot, ".git") +
" rev-parse --abbrev-ref HEAD"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment