projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42dbc80
)
Fix Scheduler bug:
author
Mounir Lamouri
<volkmar@gentoo.org>
Mon, 20 Jul 2009 20:23:16 +0000
(20:23 -0000)
committer
Mounir Lamouri
<volkmar@gentoo.org>
Mon, 20 Jul 2009 20:23:16 +0000
(20:23 -0000)
the scheduler was adding prefetcher even for uninstall tasks
svn path=/main/trunk/; revision=13838
pym/_emerge/Scheduler.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Scheduler.py
b/pym/_emerge/Scheduler.py
index 5c665df6dd27566e1efc177f44f6a3f7f5321714..5eeb17e9929c22f510fdba52b01b4b23b5073e4c 100644
(file)
--- 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)