diff options
author | Steven Knight <knight@baldmt.com> | 2003-10-28 03:39:31 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-10-28 03:39:31 (GMT) |
commit | d0d5cb41a41e598df3d1334efcee4c48e0520bf5 (patch) | |
tree | 432c5912e83b9725981ae47298afb7bc2472849f /test/Scanner.py | |
parent | af5f17a1bb092da1c4701d35aedddfea7dbfdc55 (diff) | |
download | SCons-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.py | 5 |
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') |