summaryrefslogtreecommitdiff
path: root/SCons/Node/Python.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-05-06 08:57:41 -0600
committerMats Wichmann <mats@linux.com>2021-05-06 09:03:51 -0600
commit690b51aee3f62bdf8f55b7da2f35d93729c981a3 (patch)
tree6de126595f01ebc9487f2647788192353b6dab6a /SCons/Node/Python.py
parentf046cf47ded412a0b96edb560ed7bb2daf72ccfb (diff)
downloadscons-git-690b51aee3f62bdf8f55b7da2f35d93729c981a3.tar.gz
Drop overridden changed_since_last_build method in Value class
Value defined this method, but the __init__ methos also does "self.changed_since_last_build = 6" to set an index into the decider map, meaning no instance of Value will ever see that function. The map index will cause picking the "real" function, changed_since_last_build_python(), which has identical impl to the now removed method. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Node/Python.py')
-rw-r--r--SCons/Node/Python.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/SCons/Node/Python.py b/SCons/Node/Python.py
index 738682ccb..c6850abd8 100644
--- a/SCons/Node/Python.py
+++ b/SCons/Node/Python.py
@@ -146,13 +146,6 @@ class Value(SCons.Node.Node):
"""Get contents for signature calculations."""
return self.get_text_contents().encode()
- def changed_since_last_build(self, target, prev_ni):
- cur_csig = self.get_csig()
- try:
- return cur_csig != prev_ni.csig
- except AttributeError:
- return True
-
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