summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2010-08-19 14:26:04 +0200
committerGuido Günther <agx@sigxcpu.org>2010-08-21 18:03:23 +0200
commited1dea3c365b633a0f98ecbce56b18b40ef9ca3a (patch)
tree407a4aefb0d07adf03896b16cb749b3199a246f6
parent5bfdf099429862d23ad9ffdd05046c38c1271807 (diff)
Don't call stdout stdin.
Git-Dch: Ignore
-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"""