summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 17:07:02 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 17:07:02 +0000
commit0e72fea5b262131801698d8287786f3772d0ed73 (patch)
treeda968f05dc2ae4eb1d369e09e1abf591487c46c2
parentbfdb7c455f4a9d639baf2e9bac74f79e7424462d (diff)
downloadimport-0e72fea5b262131801698d8287786f3772d0ed73.tar.gz
Revert "Close stderr stdout of subprocess once exited"
This reverts commit bfdb7c455f4a9d639baf2e9bac74f79e7424462d.
-rwxr-xr-xexts/pip.find_deps5
1 files changed, 1 insertions, 4 deletions
diff --git a/exts/pip.find_deps b/exts/pip.find_deps
index 5394f03..b59a1fc 100755
--- a/exts/pip.find_deps
+++ b/exts/pip.find_deps
@@ -260,10 +260,7 @@ def find_runtime_deps(source, name, version=None):
logging.debug(line.rstrip())
- p.wait() # even with eof, wait
-
- p.stderr.close()
- p.stdout.close()
+ p.wait() # even with eof on both streams, we still wait
logging.debug('pip exited with code: %d' % p.returncode)