From 18209861c30dbfece7d67300fb220e6636f141a5 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sat, 17 Dec 2005 01:55:15 +0000 Subject: [PATCH] Catch KeyError exception throw from aux_get. svn path=/main/trunk/; revision=2379 --- bin/ebuild | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2