summaryrefslogtreecommitdiff
path: root/patchtracker/DiffGzHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchtracker/DiffGzHandler.py')
-rw-r--r--patchtracker/DiffGzHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/patchtracker/DiffGzHandler.py b/patchtracker/DiffGzHandler.py
index 84be827..515b3ed 100644
--- a/patchtracker/DiffGzHandler.py
+++ b/patchtracker/DiffGzHandler.py
@@ -44,6 +44,7 @@ class DiffGzHandler:
if embedded.lines():
td = tempfile.mkdtemp()
i,o,e=os.popen3("patch -d %s -p3"%(td))
+ o.close()
i.write(str(embedded))
i.close()
err = e.read()