summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-11 04:41:49 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-11 04:41:49 +0000
commite67f1ca80eae405c3a7819da391a56095d350f40 (patch)
tree6a08a48628ff3f9abb90213ec23721023210c96d
parent709e2d897715bdd238387719c129210623285983 (diff)
downloadportage-e67f1ca80eae405c3a7819da391a56095d350f40.tar.gz
portage-e67f1ca80eae405c3a7819da391a56095d350f40.tar.bz2
portage-e67f1ca80eae405c3a7819da391a56095d350f40.zip
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
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
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")