Fix newline fun

This commit is contained in:
Christian committed 2012-12-15 22:37:32 -05:00
1 parent d811fea82c
commit 8f3b1aeff7
1 file changed
+1
+1
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"