From 690b51aee3f62bdf8f55b7da2f35d93729c981a3 Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Thu, 6 May 2021 08:57:41 -0600 Subject: 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 --- SCons/Node/Python.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'SCons/Node/Python.py') 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 -- cgit v1.2.1