summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-23 12:52:58 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-23 12:52:58 -0700
commit0666aa9e6c88cdeaf5806dda27e40eb96df9db86 (patch)
treef30101d2dfcf0ee4788de91f47b71fab113dad98 /pym
parented9982d781a81651db0480af128a6509eafe358a (diff)
downloadportage-0666aa9e6c88cdeaf5806dda27e40eb96df9db86.tar.gz
portage-0666aa9e6c88cdeaf5806dda27e40eb96df9db86.tar.bz2
portage-0666aa9e6c88cdeaf5806dda27e40eb96df9db86.zip
Fix cp_list mytree argument for match-all.
This is a regression from commit 3d07f74a2fb2e0480e126335f6981218f60da824.
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index e3fe9a911..135412430 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -867,7 +867,7 @@ class portdbapi(dbapi):
for tree in self.porttrees:
repo = self.repositories.get_name_for_location(tree)
myval.update(self._iter_match(mydep.with_repo(repo),
- self.cp_list(mykey, mytree=mytree)))
+ self.cp_list(mykey, mytree=tree)))
myval = list(myval)
if len(myval) > 1:
self._cpv_sort_ascending(myval)