summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/__init__.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-17 22:59:44 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-17 22:59:44 (GMT)
commita08e3ae7893a19820b11633822a68af2625baec9 (patch)
tree6020672dd780529908f2e7fdb10530400b1e0cfc /src/engine/SCons/Node/__init__.py
parent09a79379297b912a5ab9e7f0ab36d138bb946ee5 (diff)
downloadSCons-a08e3ae7893a19820b11633822a68af2625baec9.zip
SCons-a08e3ae7893a19820b11633822a68af2625baec9.tar.gz
SCons-a08e3ae7893a19820b11633822a68af2625baec9.tar.bz2
Remove the misbegotten --save-explain-info feature.
Diffstat (limited to 'src/engine/SCons/Node/__init__.py')
-rw-r--r--src/engine/SCons/Node/__init__.py28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index be5e21c..0638375 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -76,9 +76,6 @@ implicit_deps_unchanged = 0
# controls whether the cached implicit deps are ignored:
implicit_deps_changed = 0
-# controls whether --debug=explain info is saved in Nodes:
-Save_Explain_Info = 1
-
# A variable that can be set to an interface-specific function be called
# to annotate a Node with information about its creation.
def do_nothing(node): pass
@@ -546,24 +543,19 @@ class Node:
sigs = sourcesigs + dependsigs + implicitsigs
- has_builder = self.has_builder()
- if has_builder:
+ if self.has_builder():
executor = self.get_executor()
- bactsig = calc.module.signature(executor)
- sigs.append(bactsig)
-
- if Save_Explain_Info or implicit_cache:
- binfo.bsources = map(str, sources)
- binfo.bdepends = map(str, depends)
- binfo.bimplicit = map(str, implicit)
+ binfo.bact = executor.get_contents()
+ binfo.bactsig = calc.module.signature(executor)
+ sigs.append(binfo.bactsig)
- binfo.bsourcesigs = sourcesigs
- binfo.bdependsigs = dependsigs
- binfo.bimplicitsigs = implicitsigs
+ binfo.bsources = map(str, sources)
+ binfo.bdepends = map(str, depends)
+ binfo.bimplicit = map(str, implicit)
- if has_builder:
- binfo.bact = executor.get_contents()
- binfo.bactsig = bactsig
+ binfo.bsourcesigs = sourcesigs
+ binfo.bdependsigs = dependsigs
+ binfo.bimplicitsigs = implicitsigs
binfo.bsig = calc.module.collect(filter(None, sigs))