summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/Python.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-06-07 11:32:40 (GMT)
committerSteven Knight <knight@baldmt.com>2005-06-07 11:32:40 (GMT)
commit35ab84ab1bd503b955aa5b00ea2c2f1081e938b5 (patch)
treed6cd2aac66041c1064740f28d018220815d9a210 /src/engine/SCons/Node/Python.py
parent152488af7baaa389f79b66cc6c8e5fbd9cac06fb (diff)
downloadSCons-35ab84ab1bd503b955aa5b00ea2c2f1081e938b5.zip
SCons-35ab84ab1bd503b955aa5b00ea2c2f1081e938b5.tar.gz
SCons-35ab84ab1bd503b955aa5b00ea2c2f1081e938b5.tar.bz2
Split Node-specific stuff from BuildInfo into a separate NodeInfo class. Add size info to the File information we collect.
Diffstat (limited to 'src/engine/SCons/Node/Python.py')
-rw-r--r--src/engine/SCons/Node/Python.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/Node/Python.py b/src/engine/SCons/Node/Python.py
index cabc162..0e1c985 100644
--- a/src/engine/SCons/Node/Python.py
+++ b/src/engine/SCons/Node/Python.py
@@ -62,7 +62,7 @@ class Value(SCons.Node.Node):
contents = contents + kid.get_contents()
return contents
- def calc_csig(self, calc=None):
+ def get_csig(self, calc=None):
"""Because we're a Python value node and don't have a real
timestamp, we get to ignore the calculator and just use the
value contents."""
@@ -71,8 +71,8 @@ class Value(SCons.Node.Node):
except AttributeError:
binfo = self.binfo = self.new_binfo()
try:
- return binfo.csig
+ return binfo.ninfo.csig
except AttributeError:
- binfo.csig = self.get_contents()
+ binfo.ninfo.csig = self.get_contents()
self.store_info(binfo)
- return binfo.csig
+ return binfo.ninfo.csig