Detect an invalid cpv passed into portdbapi.findname2() and raise an
authorZac Medico <zmedico@gentoo.org>
Fri, 25 Jul 2008 21:04:37 +0000 (21:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 25 Jul 2008 21:04:37 +0000 (21:04 -0000)
commita4298d1054bbe5a219d53bf39745c1c88491c59b
tree5f736437a4e1c679d739f9afe8108c650c42f402
parentff490f6e06d4f30633c7f7e6ab1e82e15ea1292e
Detect an invalid cpv passed into portdbapi.findname2() and raise an
InvalidPackageName exception. This avoids silent or nonsense errors
later on.

svn path=/main/trunk/; revision=11188
pym/portage/dbapi/porttree.py