summaryrefslogtreecommitdiff
path: root/test/GetBuildFailures
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-10-31 13:36:01 +0000
committerSteven Knight <knight@baldmt.com>2008-10-31 13:36:01 +0000
commit3f31cd92188cb9213639e4862bccfca000319926 (patch)
tree8eab91b5a13f7d7849929e7ad4aadc0f454efd0a /test/GetBuildFailures
parent0d0a90ad008f841dd749dd3608f3c5c41e105bab (diff)
downloadscons-3f31cd92188cb9213639e4862bccfca000319926.tar.gz
Fix a nested scope issue for older Python versions.
Diffstat (limited to 'test/GetBuildFailures')
-rw-r--r--test/GetBuildFailures/serial.py4
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):