summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-30 12:46:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-30 12:46:29 +0000
commit0ba7bbd605a2fa659e737e441e80b031180ef8dc (patch)
treec0004fec291cbd9f2128b08e6ea08a73cf555696
parente4edadf5ae7063f375d76be151c6d0e949980ecf (diff)
downloadportage-0ba7bbd605a2fa659e737e441e80b031180ef8dc.tar.gz
portage-0ba7bbd605a2fa659e737e441e80b031180ef8dc.tar.bz2
portage-0ba7bbd605a2fa659e737e441e80b031180ef8dc.zip
Clear the self._task_queue to avoid duplicate parallel-fetch tasks
in --keep-going mode. svn path=/main/trunk/; revision=10856
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index b6c74b586..acaf16287 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -6570,6 +6570,7 @@ class Scheduler(object):
rval = self._merge()
finally:
# clean up child process if necessary
+ self._task_queue.clear()
while running_tasks:
task = running_tasks.pop()
if task.poll() is None: