From 3287148a2f99fa66028434ce971b0200271437e7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 14 Nov 2014 17:32:46 +0100 Subject: 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. --- git/cmd.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'git') 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 -- cgit v1.2.1