changeset 3:4d38d14cf1d4

pass the pipe argument
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 16 Jul 2010 16:00:56 -0700
parents 54b30e8f6f82
children 190ce22e7e83
files gut/main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gut/main.py	Fri Jul 16 14:47:13 2010 -0700
+++ b/gut/main.py	Fri Jul 16 16:00:56 2010 -0700
@@ -80,7 +80,7 @@
 
     def branch(self):
         """print what branch you're on"""
-        output = call(['git', 'branch'], output=False)
+        output = call(['git', 'branch'], output=False, pipe=True)
         if self.simulate:
             return
         for line in output['stdout'].splitlines():