From: Fabian Groffen Date: Fri, 5 Oct 2007 21:05:42 +0000 (-0000) Subject: Vimdiff with trunk to make python happy X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=48f6fd1cc6545821811ee40300a06632a3e0fe5f;p=portage.git Vimdiff with trunk to make python happy svn path=/main/branches/prefix/; revision=7964 --- 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