aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-21 21:12:28 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-22 15:33:40 +0200
commit6da5985f2eb0f39d97afb271569de102ff472858 (patch)
tree293e63d0003f704e7cfcf1f77ba820caebf20b4e
parent85c3e458edc0dc1d1ab5f62c8ec75a193d45e29f (diff)
Execute GitRepository.__git_inout and self.path
Git-Dch: Ignore
-rw-r--r--gbp/git.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 6499033c..f6e12ae5 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -74,7 +74,8 @@ class GitRepository(object):
popen = subprocess.Popen(cmd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
- env=env)
+ env=env,
+ cwd=self.path)
(stdout, stderr) = popen.communicate(input)
return stdout, stderr, popen.returncode