projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07a9ee
)
Bug #246451 - Inside SecuritySet._reduce(), use portdbapi.xmatch("match-all")
author
Zac Medico
<zmedico@gentoo.org>
Wed, 12 Nov 2008 02:24:42 +0000
(
02:24
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 12 Nov 2008 02:24:42 +0000
(
02:24
-0000)
in order do be consistent with portage.glsa.getMinUpgrade() which also uses
match-all.
svn path=/main/trunk/; revision=11861
pym/portage/sets/security.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/security.py
b/pym/portage/sets/security.py
index 928fecbcfb68f08a0b7dcbba15a00b6ee7582d86..12503d9a5ce5ee5d6741e752a555995b7c980c9a 100644
(file)
--- a/
pym/portage/sets/security.py
+++ b/
pym/portage/sets/security.py
@@
-46,7
+46,7
@@
class SecuritySet(PackageSet):
def _reduce(self, atomlist):
mydict = {}
for atom in atomlist[:]:
- cpv = self._portdbapi.
match(
atom)[0]
+ cpv = self._portdbapi.
xmatch("match-all",
atom)[0]
slot = self._portdbapi.aux_get(cpv, ["SLOT"])[0]
cps = "/".join(catpkgsplit(cpv)[0:2]) + ":" + slot
if not cps in mydict: