From 18a9c13314a3cb12bb205293a095d398d448f73a Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 31 Oct 2008 13:36:01 +0000 Subject: [PATCH] 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 --- test/GetBuildFailures/serial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2