projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b0a31
)
merge_wait_queue: use deque.clear()
author
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 19:05:49 +0000
(12:05 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 19:05:49 +0000
(12:05 -0700)
pym/_emerge/Scheduler.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/Scheduler.py
b/pym/_emerge/Scheduler.py
index fbf2d2dc0de9f7ce779f65bb219d583c4ff82e82..74d888a2e50cfee22d2d5d2612e40b9522c3e398 100644
(file)
--- a/
pym/_emerge/Scheduler.py
+++ b/
pym/_emerge/Scheduler.py
@@
-304,7
+304,7
@@
class Scheduler(PollScheduler):
if self._merge_wait_queue:
for merge in self._merge_wait_queue:
self._running_tasks.remove(merge.merge.pkg)
- del self._merge_wait_queue[:]
+ self._merge_wait_queue.clear()
for merge in self._task_queues.merge._task_queue:
# Setup phases may be scheduled in this queue, but
# we're only interested in the PackageMerge instances.