summaryrefslogtreecommitdiffstats
path: root/git_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_command.py')
-rw-r--r--git_command.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/git_command.py b/git_command.py
index 4868ccdf..34efda7d 100644
--- a/git_command.py
+++ b/git_command.py
@@ -208,14 +208,14 @@ class GitCommand(object):
208 def __init__(self, 208 def __init__(self,
209 project, 209 project,
210 cmdv, 210 cmdv,
211 bare = False, 211 bare=False,
212 provide_stdin = False, 212 provide_stdin=False,
213 capture_stdout = False, 213 capture_stdout=False,
214 capture_stderr = False, 214 capture_stderr=False,
215 disable_editor = False, 215 disable_editor=False,
216 ssh_proxy = False, 216 ssh_proxy=False,
217 cwd = None, 217 cwd=None,
218 gitdir = None): 218 gitdir=None):
219 env = self._GetBasicEnv() 219 env = self._GetBasicEnv()
220 220
221 # If we are not capturing std* then need to print it. 221 # If we are not capturing std* then need to print it.
@@ -295,11 +295,11 @@ class GitCommand(object):
295 295
296 try: 296 try:
297 p = subprocess.Popen(command, 297 p = subprocess.Popen(command,
298 cwd = cwd, 298 cwd=cwd,
299 env = env, 299 env=env,
300 stdin = stdin, 300 stdin=stdin,
301 stdout = stdout, 301 stdout=stdout,
302 stderr = stderr) 302 stderr=stderr)
303 except Exception as e: 303 except Exception as e:
304 raise GitError('%s: %s' % (command[1], e)) 304 raise GitError('%s: %s' % (command[1], e))
305 305