Define the world_candidates variable earlier to make sure it's in scope.
authorZac Medico <zmedico@gentoo.org>
Mon, 12 May 2008 23:01:57 +0000 (23:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 12 May 2008 23:01:57 +0000 (23:01 -0000)
svn path=/main/trunk/; revision=10313

pym/_emerge/__init__.py

index 9acfac2070a76c9308477c3ee06cd428cf617cb5..42c7decbc0fb833eabd3881cac5f2b7608d5a440 100644 (file)
@@ -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