summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-10-31 13:36:01 (GMT)
committerSteven Knight <knight@baldmt.com>2008-10-31 13:36:01 (GMT)
commit51c0d4fc7c9edfea56ac306d92f44080e492e2f3 (patch)
tree8eab91b5a13f7d7849929e7ad4aadc0f454efd0a /test
parent00e8490a90b0eafa3202d74291ede797bde16464 (diff)
downloadSCons-51c0d4fc7c9edfea56ac306d92f44080e492e2f3.zip
SCons-51c0d4fc7c9edfea56ac306d92f44080e492e2f3.tar.gz
SCons-51c0d4fc7c9edfea56ac306d92f44080e492e2f3.tar.bz2
Fix a nested scope issue for older Python versions.
Diffstat (limited to 'test')
-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 b5d8e44..3c11be8 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):