diff options
author | Steven Knight <knight@baldmt.com> | 2008-10-31 13:36:01 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-10-31 13:36:01 +0000 |
commit | 3f31cd92188cb9213639e4862bccfca000319926 (patch) | |
tree | 8eab91b5a13f7d7849929e7ad4aadc0f454efd0a /test/GetBuildFailures | |
parent | 0d0a90ad008f841dd749dd3608f3c5c41e105bab (diff) | |
download | scons-3f31cd92188cb9213639e4862bccfca000319926.tar.gz |
Fix a nested scope issue for older Python versions.
Diffstat (limited to 'test/GetBuildFailures')
-rw-r--r-- | test/GetBuildFailures/serial.py | 4 |
1 files 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): |