Catch KeyError exception throw from aux_get.
authorJason Stubbs <jstubbs@gentoo.org>
Sat, 17 Dec 2005 01:55:15 +0000 (01:55 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sat, 17 Dec 2005 01:55:15 +0000 (01:55 -0000)
svn path=/main/trunk/; revision=2379

bin/ebuild

index 5a2962fae5d873ebf77012171095a51e49ae366a..0225374e467c943273c287220751b9e310b91564 100755 (executable)
@@ -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