From: Eric Edgar Date: Mon, 19 Dec 2005 15:48:00 +0000 (+0000) Subject: Optimize catalyst bytecode and set a sane sys.exit for keyboard interrupts X-Git-Tag: CATALYST_2_0_6_916~515 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7932618cecafd2a22cadbfb52233b72f5463a24c;p=catalyst.git Optimize catalyst bytecode and set a sane sys.exit for keyboard interrupts git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@979 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index de606d7a..d143c5d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.466 2005/12/19 15:36:02 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.467 2005/12/19 15:48:00 rocket Exp $ + + 19 Dec 2005; Eric Edgar catalyst: + Optimize catalyst bytecode and set a sane sys.exit for keyboard interrupts 19 Dec 2005; Chris Gianelloni targets/stage4/stage4-chroot.sh, targets/stage4/stage4-controller.sh, diff --git a/catalyst b/catalyst index f949e057..8f7081df 100755 --- a/catalyst +++ b/catalyst @@ -1,7 +1,7 @@ -#!/usr/bin/python +#!/usr/bin/python -OO # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.114 2005/12/13 22:52:21 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.115 2005/12/19 15:48:00 rocket Exp $ # Maintained in full by: # Eric Edgar @@ -353,6 +353,7 @@ if __name__ == "__main__": print "\nCatalyst build aborted due to user interrupt ( Ctrl-C )" print print "Catalyst aborting...." + sys.exit(2) except LockInUse: print "Catalyst aborting...." sys.exit(2)