summaryrefslogtreecommitdiffstats
path: root/test/Scanner.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-10-28 03:39:31 (GMT)
committerSteven Knight <knight@baldmt.com>2003-10-28 03:39:31 (GMT)
commitd0d5cb41a41e598df3d1334efcee4c48e0520bf5 (patch)
tree432c5912e83b9725981ae47298afb7bc2472849f /test/Scanner.py
parentaf5f17a1bb092da1c4701d35aedddfea7dbfdc55 (diff)
downloadSCons-d0d5cb41a41e598df3d1334efcee4c48e0520bf5.zip
SCons-d0d5cb41a41e598df3d1334efcee4c48e0520bf5.tar.gz
SCons-d0d5cb41a41e598df3d1334efcee4c48e0520bf5.tar.bz2
Fix a regression with env.Append().
Diffstat (limited to 'test/Scanner.py')
-rw-r--r--test/Scanner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Scanner.py b/test/Scanner.py
index b11805e..610eef7 100644
--- a/test/Scanner.py
+++ b/test/Scanner.py
@@ -82,8 +82,9 @@ k2scan = env.Scanner(name = 'k2',
argument = None,
skeys = ['.k2'])
-scanners = Environment().Dictionary('SCANNERS')
-env = Environment(SCANNERS = scanners + [kscan, k2scan])
+env = Environment()
+env.Append(SCANNERS = kscan)
+env.Append(SCANNERS = [k2scan])
env.Command('foo', 'foo.k', r'%s build.py $SOURCES $TARGET')