Derive PackageMerge from AsynchronousTask instead of CompositeTask since
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 17:44:53 +0000 (17:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 17:44:53 +0000 (17:44 -0000)
CompositeTask is designed for self._current_task to be set.

svn path=/main/trunk/; revision=10988

pym/_emerge/__init__.py

index c5d6c402f48fb851e09843d97aa3b29a82fda1e7..96902685d398be1b1507d44d349814e421d4d1dc 100644 (file)
@@ -2987,7 +2987,7 @@ class MergeListItem(CompositeTask):
                retval = self._install_task.install()
                return retval
 
-class PackageMerge(CompositeTask):
+class PackageMerge(AsynchronousTask):
        """
        TODO: Implement asynchronous merge so that the scheduler can
        run while a merge is executing.