diff options
author | Steven Knight <knight@baldmt.com> | 2004-12-16 14:22:29 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-12-16 14:22:29 (GMT) |
commit | 64c24fdd205f1d3fe584990aaf6ae050bb46c431 (patch) | |
tree | 56224b472ce45750199e13b89473109b50ea3f9a /test/scan-once.py | |
parent | 3869e426c19bd3b2e9bbb611b596220df9b34814 (diff) | |
download | SCons-64c24fdd205f1d3fe584990aaf6ae050bb46c431.zip SCons-64c24fdd205f1d3fe584990aaf6ae050bb46c431.tar.gz SCons-64c24fdd205f1d3fe584990aaf6ae050bb46c431.tar.bz2 |
Cache get_suffix() and get_build_env(). (Kevin Quick)
Diffstat (limited to 'test/scan-once.py')
-rw-r--r-- | test/scan-once.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scan-once.py b/test/scan-once.py index 0d1dd2a..7019e23 100644 --- a/test/scan-once.py +++ b/test/scan-once.py @@ -356,10 +356,10 @@ def write_out(file, dict): f.write(file + ": " + str(dict[k]) + "\\n") f.close() -orig_function = CScan.function +orig_function = CScan.scan -def MyCScan(node, env, target, orig_function=orig_function): - deps = orig_function(node, env, target) +def MyCScan(node, paths, orig_function=orig_function): + deps = orig_function(node, paths) global Scanned n = str(node) @@ -371,7 +371,7 @@ def MyCScan(node, env, target, orig_function=orig_function): return deps -CScan.function = MyCScan +CScan.scan = MyCScan env = Environment(CPPPATH = ".") l = env.StaticLibrary("g", Split("libg_1.c libg_2.c libg_3.c")) |