From: fuzzyray Date: Wed, 9 Dec 2009 18:54:19 +0000 (-0000) Subject: Fix equery meta to not remove the first package from the list of matching packages X-Git-Tag: gentoolkit-0.3.0_rc10~45 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d3037cab5d19104cea63dd51a9f7ec63433c8d32;p=gentoolkit.git Fix equery meta to not remove the first package from the list of matching packages svn path=/trunk/gentoolkit/; revision=706 --- diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py index fc38bff..bcbbed2 100644 --- a/pym/gentoolkit/equery/meta.py +++ b/pym/gentoolkit/equery/meta.py @@ -358,7 +358,7 @@ def get_reference_pkg(matches): pkg = None while list(reversed(matches)): - pkg = matches.pop() + pkg = matches[-1] if not pkg.is_overlay(): break