diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-16 20:56:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-16 20:56:47 +0000 |
commit | a11d20f4e05ff22d07fd557ba47bd98070f51949 (patch) | |
tree | 5bf1dd11697330855e195eaa42c754a07b38ceb2 | |
parent | d92c081341182175ddf3245e39d2ca4bd44bdc81 (diff) | |
download | portage-a11d20f4e05ff22d07fd557ba47bd98070f51949.tar.gz portage-a11d20f4e05ff22d07fd557ba47bd98070f51949.tar.bz2 portage-a11d20f4e05ff22d07fd557ba47bd98070f51949.zip |
Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren't available for some packages. Thanks to Brent Baude <ranger@gentoo.org> for reporting.
svn path=/main/trunk/; revision=5675
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index a45f62cc3..2ea696645 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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 |