summaryrefslogtreecommitdiffhomepage
path: root/gbp/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git.py')
-rw-r--r--gbp/git.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 279e9011..7547d154 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -58,10 +58,10 @@ class GitRepository(object):
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
env=env)
- (stdin, stderr) = popen.communicate(input)
+ (stdout, stderr) = popen.communicate(input)
if popen.returncode:
- stdin = None
- return stdin
+ stdout = None
+ return stdout
def base_dir(self):
"""Base of the repository"""