Fix newline fun

This commit is contained in:
Christian 2012-12-15 22:37:32 -05:00
parent d811fea82c
commit 8f3b1aeff7

View file

@ -52,6 +52,7 @@ def main():
try:
process = subprocess.Popen(cmdsplit(cmd), stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)
branch, _ = process.communicate()
branch = branch.strip()
except OSError:
print("Git not found")
branch="master"