projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed89eb
)
Vimdiff with trunk to make python happy
author
Fabian Groffen
<grobian@gentoo.org>
Fri, 5 Oct 2007 21:05:42 +0000
(21:05 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Fri, 5 Oct 2007 21:05:42 +0000
(21:05 -0000)
svn path=/main/branches/prefix/; revision=7964
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 7b0281e579d6a0e915e53d78e4b582a120adeb02..e9009c3fa1688a2da6e75b134f013b67c8fcfc48 100755
(executable)
--- 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