fix message on ValueError to not sound like crap
authorMarius Mauch <genone@gentoo.org>
Mon, 3 Mar 2008 20:53:33 +0000 (20:53 -0000)
committerMarius Mauch <genone@gentoo.org>
Mon, 3 Mar 2008 20:53:33 +0000 (20:53 -0000)
svn path=/main/trunk/; revision=9427

bin/portageq

index a29669a243b72cce70efc57773fc03cb777e4c0c..c3fe8b37dba5bd55e61d351d5bda89953fcf8367 100755 (executable)
@@ -501,7 +501,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)