From: Zac Medico Date: Tue, 11 Nov 2008 04:41:49 +0000 (-0000) Subject: Inside depgraph.loadResumeCommand(), initialize self._scheduler_graph when X-Git-Tag: v2.2_rc14~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e67f1ca80eae405c3a7819da391a56095d350f40;p=portage.git Inside depgraph.loadResumeCommand(), initialize self._scheduler_graph when in --nodeps mode in order to avoid an AttributeError later when self.schedulerGraph() is called. svn path=/main/trunk/; revision=11846 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 4ebfbde9e..f9304dd72 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -7849,6 +7849,7 @@ class depgraph(object): if not serialized_tasks or "--nodeps" in self.myopts: self._serialized_tasks_cache = serialized_tasks + self._scheduler_graph = self.digraph else: self._select_package = self._select_pkg_from_graph self.myparams.add("selective")