Bug #220987 - Fix UnboundLocalError for 'skip' that only occurs when
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 21:52:00 +0000 (21:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 21:52:00 +0000 (21:52 -0000)
using alternate ROOT. Thanks to Ryan Tandy <tarpman@gmail.com>.
(trunk r10252)

svn path=/main/branches/2.1.2/; revision=10253

bin/emerge

index 4bfdac4e2dbcbad2697e5cc904bc564ef885f754..ec395c6d269a5626691592e55c1dfb58068b12ad 100755 (executable)
@@ -4052,6 +4052,7 @@ class depgraph(object):
                                                # when necessary, as long as the atom will be satisfied
                                                # in the final state.
                                                graph_db = self.mydbapi[task.root]
+                                               skip = False
                                                try:
                                                        for atom in root_config.sets[
                                                                "world"].iterAtomsForPackage(task):