projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117eeee
)
AsyncScheduler: use _termination_check
author
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Oct 2012 17:38:45 +0000
(10:38 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Oct 2012 17:38:45 +0000
(10:38 -0700)
The _terminate_tasks method is always supposed to be called via
_termination_check.
pym/portage/util/_async/AsyncScheduler.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/_async/AsyncScheduler.py
b/pym/portage/util/_async/AsyncScheduler.py
index 130331ec5cf7c14fb4bfdd92bbaf1558b2d3ac09..a452c0c377996450e79926afe7c27ac880753bec 100644
(file)
--- a/
pym/portage/util/_async/AsyncScheduler.py
+++ b/
pym/portage/util/_async/AsyncScheduler.py
@@
-27,7
+27,7
@@
class AsyncScheduler(AsynchronousTask, PollScheduler):
def _cancel(self):
self._terminated.set()
- self._terminat
e_tasks
()
+ self._terminat
ion_check
()
def _terminate_tasks(self):
for task in list(self._running_tasks):