From: stevenknight Date: Fri, 31 Oct 2008 13:36:01 +0000 (+0000) Subject: Fix a nested scope issue for older Python versions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18a9c13314a3cb12bb205293a095d398d448f73a;p=scons.git Fix a nested scope issue for older Python versions. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3754 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/test/GetBuildFailures/serial.py b/test/GetBuildFailures/serial.py index b5d8e44b..3c11be81 100644 --- a/test/GetBuildFailures/serial.py +++ b/test/GetBuildFailures/serial.py @@ -68,11 +68,11 @@ Command('f07', 'f07.in', r'@%(_python_)s mypass.py f07 - $TARGET $SOURCE') import SCons.Errors def raiseExcAction(exc): - def action(env, target, source): + def action(env, target, source, exc=exc): raise exc return action def returnExcAction(exc): - def action(env, target, source): + def action(env, target, source, exc=exc): return exc return action class MyBuildError(SCons.Errors.BuildError):