summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-17 01:55:15 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-17 01:55:15 +0000
commit18209861c30dbfece7d67300fb220e6636f141a5 (patch)
tree9bafa3ad379f6451da44fba9f6e1c1bf52a98e7b /bin/ebuild
parenttouchup TEXTREL warning some more #115727 (diff)
downloadportage-multirepo-18209861c30dbfece7d67300fb220e6636f141a5.tar.gz
portage-multirepo-18209861c30dbfece7d67300fb220e6636f141a5.tar.bz2
portage-multirepo-18209861c30dbfece7d67300fb220e6636f141a5.zip
Catch KeyError exception throw from aux_get.
svn path=/main/trunk/; revision=2379
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 5a2962fa..0225374e 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -74,6 +74,9 @@ for arg in pargs:
except KeyboardInterrupt:
print "Interrupted."
a = 1
+ except KeyError
+ # aux_get error
+ a = 1
if a == None:
print "Could not run the required binary?"
a = 127