From 48f6fd1cc6545821811ee40300a06632a3e0fe5f Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 5 Oct 2007 21:05:42 +0000 Subject: [PATCH] Vimdiff with trunk to make python happy svn path=/main/branches/prefix/; revision=7964 --- bin/portageq | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/portageq b/bin/portageq index 7b0281e57..e9009c3fa 100755 --- a/bin/portageq +++ b/bin/portageq @@ -183,6 +183,9 @@ def match(argv): sys.exit(2) try: print "\n".join(portage.db[argv[0]]["vartree"].dbapi.match(argv[1])) + except KeyError, e: + portage.writemsg("%s\n" % str(e), noiselevel=-1) + sys.exit(1) match.uses_root = True -- 2.26.2