From: Zac Medico Date: Mon, 30 Jun 2008 12:46:29 +0000 (-0000) Subject: Clear the self._task_queue to avoid duplicate parallel-fetch tasks X-Git-Tag: v2.2_rc2~269 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ba7bbd605a2fa659e737e441e80b031180ef8dc;p=portage.git Clear the self._task_queue to avoid duplicate parallel-fetch tasks in --keep-going mode. svn path=/main/trunk/; revision=10856 --- 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: