From 873deb19db6bdc1201b83f44f85da0d44962b98b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Oct 2012 17:04:53 -0700 Subject: glsa: account for EAPI 5 sub-slot in SLOT --- pym/portage/glsa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/glsa.py') 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 -- cgit v1.2.3-1-g7c22