summaryrefslogtreecommitdiffstats
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
parentded9ff12901bc03a3c118c115ab882bf11802334 (diff)
downloadportage-18209861c30dbfece7d67300fb220e6636f141a5.tar.gz
portage-18209861c30dbfece7d67300fb220e6636f141a5.tar.bz2
portage-18209861c30dbfece7d67300fb220e6636f141a5.zip
Catch KeyError exception throw from aux_get.
svn path=/main/trunk/; revision=2379
-rwxr-xr-xbin/ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 5a2962fae..0225374e4 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