summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-12 23:01:57 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-12 23:01:57 +0000
commitc243d884e6405c869004ac393cc71165a5cd3be2 (patch)
treef253c415f31682cd6cbe82c4cc6419daa79b77fd
parentc11de5b58f78b0c84328e6b6cb38462a61fbabb7 (diff)
downloadportage-c243d884e6405c869004ac393cc71165a5cd3be2.tar.gz
portage-c243d884e6405c869004ac393cc71165a5cd3be2.tar.bz2
portage-c243d884e6405c869004ac393cc71165a5cd3be2.zip
Define the world_candidates variable earlier to make sure it's in scope.
svn path=/main/trunk/; revision=10313
-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 9acfac207..42c7decbc 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8286,6 +8286,7 @@ def action_build(settings, trees, mtimedb,
if mergecount==0:
sets = trees[settings["ROOT"]]["root_config"].sets
+ world_candidates = None
if "--noreplace" in myopts and \
not oneshot and favorites:
# Sets that are not world candidates are filtered