git.samba.org
/
jelmer
/
gitpython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039bfe3
)
reverted to the cleaner and safer proc.wait method instead of communicate.
author
Florian Apolloner
<florian@apolloner.eu>
Sat, 31 May 2008 22:03:04 +0000
(
00:03
+0200)
committer
Florian Apolloner
<florian@apolloner.eu>
Sat, 31 May 2008 22:03:04 +0000
(
00:03
+0200)
lib/git/cmd.py
patch
|
blob
|
history
diff --git
a/lib/git/cmd.py
b/lib/git/cmd.py
index 422552a7ce98b34ae4881905aea9f4a02fb859f3..80ef6a78023cd2b39f1ef93f5643347c448f0957 100644
(file)
--- a/
lib/git/cmd.py
+++ b/
lib/git/cmd.py
@@
-103,10
+103,9
@@
class Git(MethodMissingMixin):
)
# Wait for the process to return
- stdout_value, err = proc.communicate()
+ status = proc.wait()
+ stdout_value = proc.stdout.read()
proc.stdout.close()
- if proc.stderr:
- proc.stderr.close()
# Strip off trailing whitespace by default
if not with_raw_output: