diff options
| author | Steven Knight <knight@baldmt.com> | 2002-03-19 16:01:59 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-03-19 16:01:59 (GMT) |
| commit | 70d4bf67b7fefce28d76d451c959ba633720214e (patch) | |
| tree | 17c6cc06738b1ab2d0c91828c3138a263ce007b0 /src/engine/SCons/Sig | |
| parent | 1d0c4df93b2120fe494da4a2e1f40b20fe0245be (diff) | |
| download | SCons-70d4bf67b7fefce28d76d451c959ba633720214e.zip SCons-70d4bf67b7fefce28d76d451c959ba633720214e.tar.gz SCons-70d4bf67b7fefce28d76d451c959ba633720214e.tar.bz2 | |
Enhance the Walker to call a third supplied function to actually work on a Node, and pass the parent Node to both the out-of-date-check function and the work function. Refactor Taskmaster to use the new Walker function.
Diffstat (limited to 'src/engine/SCons/Sig')
| -rw-r--r-- | src/engine/SCons/Sig/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Sig/__init__.py b/src/engine/SCons/Sig/__init__.py index cedeb94..146c7c1 100644 --- a/src/engine/SCons/Sig/__init__.py +++ b/src/engine/SCons/Sig/__init__.py @@ -204,7 +204,7 @@ class Calculator: # derived files, because calling get_signature() on the # derived nodes will in turn call bsig() again and do that # for us. Hence: - def walk_non_derived(n, myself=node): + def walk_non_derived(n, parent, myself=node): if not n.builder or n is myself: return filter(lambda x, i=myself.ignore: x not in i, n.all_children()) |
