dep_zapdeps: fix all_available reference
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Aug 2013 04:15:31 +0000 (21:15 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Aug 2013 04:15:31 +0000 (21:15 -0700)
This broke in commit c08402d745eef26b99091f62556f48aa9b60345a.

pym/portage/dep/dep_check.py

index 07d6d1e6f110fc14e2608c9ca4044642b7396b8f..b5ace3d39a4fb6615036823098d9a1aa6b621ac7 100644 (file)
@@ -565,7 +565,7 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
        for allow_masked in (False, True):
                for choices in choice_bins:
                        for choice in choices:
-                               if all_available or allow_masked:
+                               if choice.all_available or allow_masked:
                                        return choice.atoms
 
        assert(False) # This point should not be reachable