diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-03-16 22:36:33 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-03-18 12:49:35 -0700 |
commit | 5c1e74b2d9a68eb97557c76859bcdc74675d03d7 (patch) | |
tree | 836a6f272d7f43d64a375efc7bc889a0b7852f68 /pym/_emerge/TaskSequence.py | |
parent | 2b4d81caa05f5cb5aaf231ca25573c5547583c38 (diff) | |
download | portage-5c1e74b2d9a68eb97557c76859bcdc74675d03d7.tar.gz portage-5c1e74b2d9a68eb97557c76859bcdc74675d03d7.tar.bz2 portage-5c1e74b2d9a68eb97557c76859bcdc74675d03d7.zip |
AsynchronousTask: add _cancel template method
Diffstat (limited to 'pym/_emerge/TaskSequence.py')
-rw-r--r-- | pym/_emerge/TaskSequence.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/TaskSequence.py b/pym/_emerge/TaskSequence.py index 7a1bd5a47..1233c99d3 100644 --- a/pym/_emerge/TaskSequence.py +++ b/pym/_emerge/TaskSequence.py @@ -25,9 +25,8 @@ class TaskSequence(CompositeTask): def _start(self): self._start_next_task() - def cancel(self): + def _cancel(self): self._task_queue.clear() - CompositeTask.cancel(self) def _start_next_task(self): self._start_task(self._task_queue.popleft(), |