summaryrefslogtreecommitdiff
path: root/test/exceptions.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 +0000
committerSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 +0000
commit2f7d4f660fd048edc342a989d25c94d7b52ab13e (patch)
tree20def5c6f0f7b68ab7151cac4ada5c470a3b31e0 /test/exceptions.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadscons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
Changes from Charles Crain.
Diffstat (limited to 'test/exceptions.py')
-rw-r--r--test/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exceptions.py b/test/exceptions.py
index b3de4871..b24e581c 100644
--- a/test/exceptions.py
+++ b/test/exceptions.py
@@ -34,8 +34,8 @@ test = TestSCons.TestSCons(match = TestCmd.match_re_dotall)
test.write('SConstruct', """
def func(source = None, target = None, env = None):
raise "func exception"
-B = Builder(name = 'B', action = func)
-env = Environment(BUILDERS = [B])
+B = Builder(action = func)
+env = Environment(BUILDERS = { 'B' : B })
env.B(target = 'foo.out', source = 'foo.in')
""")