diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-07-20 20:23:16 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-07-20 20:23:16 +0000 |
commit | 8a5f5efe6d0261d451f71ccc13c297c1a3fc9323 (patch) | |
tree | 3a3bc6062329a36107565a13e07345045c41a228 | |
parent | 42dbc8067534ae2f8183a6bc69202fb08c81a4aa (diff) | |
download | portage-8a5f5efe6d0261d451f71ccc13c297c1a3fc9323.tar.gz portage-8a5f5efe6d0261d451f71ccc13c297c1a3fc9323.tar.bz2 portage-8a5f5efe6d0261d451f71ccc13c297c1a3fc9323.zip |
Fix Scheduler bug:
the scheduler was adding prefetcher even for uninstall tasks
svn path=/main/trunk/; revision=13838
-rw-r--r-- | pym/_emerge/Scheduler.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |