summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-14 17:32:46 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-14 17:32:46 +0100
commit3287148a2f99fa66028434ce971b0200271437e7 (patch)
treefc4abd9a1abf05e4ad02c93fa5843cc614192cc7
parent598cd1d7f452e05bfcda98ce9e3c392cf554fe75 (diff)
downloadgitpython-3287148a2f99fa66028434ce971b0200271437e7.tar.gz
Fixed premature closing of stdout/stderr streams, which caused plenty of errors.
The lines were added in commit b38020ae , and I might consider a patch release soon or get ready with 0.3.3. Lets hope not too many installations will be affected.
-rw-r--r--git/cmd.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/git/cmd.py b/git/cmd.py
index bd7d5b92..5425d8ff 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -106,8 +106,6 @@ class Git(LazyMixin):
:raise GitCommandError: if the return status is not 0"""
status = self.proc.wait()
- self.proc.stdout.close()
- self.proc.stderr.close()
if status != 0:
raise GitCommandError(self.args, status, self.proc.stderr.read())
# END status handling