Clear the self._task_queue to avoid duplicate parallel-fetch tasks
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jun 2008 12:46:29 +0000 (12:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jun 2008 12:46:29 +0000 (12:46 -0000)
in --keep-going mode.

svn path=/main/trunk/; revision=10856

pym/_emerge/__init__.py

index b6c74b58677a3fccc860e4ddded04bcb470adad5..acaf1628717f2482548075a88a401748f7401bae 100644 (file)
@@ -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: