summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchtracker/Patch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py
index c872d1c..3078214 100644
--- a/patchtracker/Patch.py
+++ b/patchtracker/Patch.py
@@ -225,6 +225,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()