From e67f1ca80eae405c3a7819da391a56095d350f40 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 11 Nov 2008 04:41:49 +0000 Subject: [PATCH] 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 --- pym/_emerge/__init__.py | 1 + 1 file changed, 1 insertion(+) 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") -- 2.26.2