projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513e08a
)
Fix portdbapi.xmatch("minimum-visible") breakage where a repo
author
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Sep 2010 18:33:38 +0000
(11:33 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 27 Sep 2010 18:33:38 +0000
(11:33 -0700)
name is passed to cp_list instead of a repo path.
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index fb927597312becf8801ac064c68dce8ba991ab88..49a1b004912bc1ac4c201fd2c6a6d9422d39fee8 100644
(file)
--- 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