action_info: eliminate duplicate info_pkgs match
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Apr 2011 15:04:13 +0000 (08:04 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 May 2011 19:37:57 +0000 (12:37 -0700)
commit5a26bb626213d5db94c1b9c2121f3d8b838c3d7d
treed50431022659224d8ce7f91b7551d8d1db074ef7
parenta841472cea6bf13abc9bf653fbb2ee884e2266f2
action_info: eliminate duplicate info_pkgs match

Currently, sys-kernel/linux-headers is matched by both a plain
sys-kernel/linux-headers atom and by the virtual/os-headers new-style
virtual. For backward compatibility, we're going to have duplicates
like this for at least a few months (see bug #364673, comment #5).
Therefore, automatically eliminate duplicates in the display. Entries
that include virtual provider info are preferred over those that do
not.
pym/_emerge/actions.py