Fix calling Exit() from within a Python function action, so that it gets
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 31 Oct 2008 13:19:02 +0000 (13:19 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Fri, 31 Oct 2008 13:19:02 +0000 (13:19 +0000)
commit4d48f5e395bb3b4b4cd625609bf63e87ff87c363
treeefbeadd00313a1338429c5354d7703642dc35252
parent9abbc95fca2f0d34bd67f98d8fc6853de7dfd0ef
Fix calling Exit() from within a Python function action, so that it gets
detected and exits with the specified value under Python versions before
2.5, by explicitly catching and re-raising the SystemExit exception.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3752 fdb21ef1-2011-0410-befe-b5e4ea1792b1
src/engine/SCons/Action.py