From: Mounir Lamouri Date: Mon, 20 Jul 2009 20:23:16 +0000 (-0000) Subject: Fix Scheduler bug: X-Git-Tag: v2.2_rc34~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a5f5efe6d0261d451f71ccc13c297c1a3fc9323;p=portage.git Fix Scheduler bug: the scheduler was adding prefetcher even for uninstall tasks svn path=/main/trunk/; revision=13838 --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 5c665df6d..5eeb17e99 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -637,6 +637,8 @@ class Scheduler(PollScheduler): # at the beginning, which annoy users, never # spawn a prefetcher for the first package. for pkg in self._mergelist[1:]: + if pkg.operation == "uninstall": + continue prefetcher = self._create_prefetcher(pkg) if prefetcher is not None: self._task_queues.fetch.add(prefetcher)