summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-27 11:33:38 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-27 11:33:38 -0700
commit35639b64d56f8eae8674e5173261899d5316ccf5 (patch)
treebfb62eee25223820ffdff6e874c3110990aff8b7
parent513e08a8ad3341f6bff1b769b1d6de62fdd39e4a (diff)
downloadportage-35639b64d56f8eae8674e5173261899d5316ccf5.tar.gz
portage-35639b64d56f8eae8674e5173261899d5316ccf5.tar.bz2
portage-35639b64d56f8eae8674e5173261899d5316ccf5.zip
Fix portdbapi.xmatch("minimum-visible") breakage where a repo
name is passed to cp_list instead of a repo path.
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index fb9275973..49a1b0049 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -892,7 +892,8 @@ class portdbapi(dbapi):
if mydep == mykey:
mylist = self.cp_list(mykey)
else:
- mylist = match_from_list(mydep, self.cp_list(mykey, myrepo = mydep.repo))
+ mylist = match_from_list(mydep, self.cp_list(mykey,
+ mytree=self._repository_map.get(mydep.repo)))
myval = ""
settings = self.settings
local_config = settings.local_config