diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-17 01:55:15 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-17 01:55:15 +0000 |
commit | 18209861c30dbfece7d67300fb220e6636f141a5 (patch) | |
tree | 9bafa3ad379f6451da44fba9f6e1c1bf52a98e7b | |
parent | ded9ff12901bc03a3c118c115ab882bf11802334 (diff) | |
download | portage-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-x | bin/ebuild | 3 |
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 |