Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren...
authorZac Medico <zmedico@gentoo.org>
Tue, 16 Jan 2007 20:56:47 +0000 (20:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 16 Jan 2007 20:56:47 +0000 (20:56 -0000)
svn path=/main/trunk/; revision=5675

pym/portage.py

index a45f62cc3665192baa09884d54a27f3cbf9b814b..2ea696645001cb9f1267faf76861ef0153faaa3e 100644 (file)
@@ -4045,6 +4045,8 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
                all_available = True
                for atom in atoms:
                        if not mydbapi.match(atom):
+                               if vardb and vardb.match(atom):
+                                       continue
                                all_available = False
                                break