From 6da5985f2eb0f39d97afb271569de102ff472858 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 21 Oct 2011 21:12:28 +0200 Subject: Execute GitRepository.__git_inout and self.path Git-Dch: Ignore --- gbp/git.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gbp/git.py b/gbp/git.py index 6499033..f6e12ae 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 -- cgit v1.2.3