fix message on ValueError to not sound like crap (trunk r9427)
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Mar 2008 11:42:44 +0000 (11:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Mar 2008 11:42:44 +0000 (11:42 -0000)
svn path=/main/branches/2.1.2/; revision=9546

bin/portageq

index fb5decc45f8ba691b069a13fdfbecdfe950a7f5c..d65abaa8f4dece923d129e244e31e93650d628e9 100755 (executable)
@@ -452,7 +452,7 @@ def main():
                # Multiple matches thrown from cpv_expand
                pkgs = e.args[0]
                # An error has occurred so we writemsg to stderr and exit nonzero.
-               portage.writemsg("The following packages available:\n", noiselevel=-1)
+               portage.writemsg("You specified an unqualified atom that matched multiple packages:\n", noiselevel=-1)
                for pkg in pkgs:
                        portage.writemsg("* %s\n" % pkg, noiselevel=-1)
                portage.writemsg("\nPlease use a more specific atom.\n", noiselevel=-1)