diff options
author | Steven Knight <knight@baldmt.com> | 2005-06-07 11:32:40 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-06-07 11:32:40 (GMT) |
commit | 086a115a4add32f83be62140e9c0677cfdb90d73 (patch) | |
tree | d6cd2aac66041c1064740f28d018220815d9a210 /src/engine/SCons/Node/Python.py | |
parent | 7a75ef62e1067b6c8af61f1656c54f5d6853432c (diff) | |
download | SCons-086a115a4add32f83be62140e9c0677cfdb90d73.zip SCons-086a115a4add32f83be62140e9c0677cfdb90d73.tar.gz SCons-086a115a4add32f83be62140e9c0677cfdb90d73.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.py | 8 |
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 |