Add missing resume_depgraph import, and remove unused imports.
authorZac Medico <zmedico@gentoo.org>
Sun, 28 Jun 2009 22:59:49 +0000 (22:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 28 Jun 2009 22:59:49 +0000 (22:59 -0000)
svn path=/main/trunk/; revision=13732

pym/_emerge/Scheduler.py

index 34476d86c5a0296f8b856717934e691476549a1f..1ae85728a0fb7a873b53b02d40a82c7d0df2280a 100644 (file)
@@ -31,7 +31,7 @@ from _emerge.clear_caches import clear_caches
 from _emerge.create_depgraph_params import create_depgraph_params
 from _emerge.create_world_atom import create_world_atom
 from _emerge.DepPriority import DepPriority
-from _emerge.depgraph import depgraph
+from _emerge.depgraph import depgraph, resume_depgraph
 from _emerge.EbuildFetcher import EbuildFetcher
 from _emerge.EbuildPhase import EbuildPhase
 from _emerge.emergelog import emergelog, _emerge_log_dir
@@ -45,7 +45,6 @@ from _emerge.PollScheduler import PollScheduler
 from _emerge.RootConfig import RootConfig
 from _emerge.SlotObject import SlotObject
 from _emerge.SequentialTaskQueue import SequentialTaskQueue
-from _emerge.show_invalid_depstring_notice import show_invalid_depstring_notice
 
 class Scheduler(PollScheduler):
 
@@ -321,8 +320,6 @@ class Scheduler(PollScheduler):
                return background
 
        def _get_interactive_tasks(self):
-               from portage import flatten
-               from portage.dep import use_reduce, paren_reduce
                interactive_tasks = []
                for task in self._mergelist:
                        if not (isinstance(task, Package) and \