For bug #165382, don't raise a ValueError in cpv_expand() if there are only two match...
authorZac Medico <zmedico@gentoo.org>
Mon, 5 Feb 2007 06:27:35 +0000 (06:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 5 Feb 2007 06:27:35 +0000 (06:27 -0000)
commitbf32173b3aa1f47a6467561892938369133b2a4e
tree343ec493b2761acf7c749dabe3fe41d416bf99e3
parentc51752616495d8e5d521cb2ecb558813859365bb
For bug #165382, don't raise a ValueError in cpv_expand() if there are only two matches and one of them is a virtual.  Prefer the non-virtual instead.

svn path=/main/trunk/; revision=5890
pym/portage/__init__.py