diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-10-17 17:04:53 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-10-17 17:04:53 -0700 |
commit | 873deb19db6bdc1201b83f44f85da0d44962b98b (patch) | |
tree | bc5c92a9addb72b3a8343a965c7c9de8a213d91c /pym | |
parent | 0e5e75ce80bbc9e4dd231c693861fc9b43f677c1 (diff) | |
download | portage-873deb19db6bdc1201b83f44f85da0d44962b98b.tar.gz portage-873deb19db6bdc1201b83f44f85da0d44962b98b.tar.bz2 portage-873deb19db6bdc1201b83f44f85da0d44962b98b.zip |
glsa: account for EAPI 5 sub-slot in SLOT
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/glsa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index d3c3b3da7..5bff6879d 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -378,7 +378,7 @@ def getMinUpgrade(vulnerableList, unaffectedList, portdbapi, vardbapi, minimize= or not match("="+rValue, portdbapi) \ or (minimize ^ (vercmp(c.version, rValue.version) > 0)) \ and match("="+c, portdbapi)) \ - and portdbapi.aux_get(c, ["SLOT"]) == vardbapi.aux_get(best(v_installed), ["SLOT"]): + and portdbapi._pkg_str(c, None).slot == vardbapi._pkg_str(best(v_installed), None).slot: rValue = c return rValue |