Gentoo Archives: gentoo-commits

From: "Marius Mauch (genone)" <genone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9427 - main/trunk/bin
Date: Mon, 03 Mar 2008 20:53:36
Message-Id: E1JWHfC-0008SS-G3@stork.gentoo.org
1 Author: genone
2 Date: 2008-03-03 20:53:33 +0000 (Mon, 03 Mar 2008)
3 New Revision: 9427
4
5 Modified:
6 main/trunk/bin/portageq
7 Log:
8 fix message on ValueError to not sound like crap
9
10 Modified: main/trunk/bin/portageq
11 ===================================================================
12 --- main/trunk/bin/portageq 2008-03-03 20:28:22 UTC (rev 9426)
13 +++ main/trunk/bin/portageq 2008-03-03 20:53:33 UTC (rev 9427)
14 @@ -501,7 +501,7 @@
15 # Multiple matches thrown from cpv_expand
16 pkgs = e.args[0]
17 # An error has occurred so we writemsg to stderr and exit nonzero.
18 - portage.writemsg("The following packages available:\n", noiselevel=-1)
19 + portage.writemsg("You specified an unqualified atom that matched multiple packages:\n", noiselevel=-1)
20 for pkg in pkgs:
21 portage.writemsg("* %s\n" % pkg, noiselevel=-1)
22 portage.writemsg("\nPlease use a more specific atom.\n", noiselevel=-1)
23
24 --
25 gentoo-commits@l.g.o mailing list