summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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