From fe334af3ca74a8cd886c4c1c988c3e98263f582d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 28 Jun 2009 22:59:49 +0000 Subject: [PATCH] Add missing resume_depgraph import, and remove unused imports. svn path=/main/trunk/; revision=13732 --- pym/_emerge/Scheduler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 34476d86c..1ae85728a 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -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 \ -- 2.26.2