diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-07-09 19:37:05 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-07-09 19:37:05 (GMT) |
commit | 0e1a849fbc2f8e2214cb738d9d1159bf8aa00e1f (patch) | |
tree | 1042b92775e88f38c29109f1209a0684c9cb2b10 | |
parent | cb2bf0787dce3f00d926dc9b8ac45c738d9f26b9 (diff) | |
download | SCons-0e1a849fbc2f8e2214cb738d9d1159bf8aa00e1f.zip SCons-0e1a849fbc2f8e2214cb738d9d1159bf8aa00e1f.tar.gz SCons-0e1a849fbc2f8e2214cb738d9d1159bf8aa00e1f.tar.bz2 |
Add missing repo_node argument to _changed_source()
-rw-r--r-- | src/engine/SCons/Environment.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index eb3284a..70b8166 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -1445,13 +1445,13 @@ class Base(SubstitutionEnvironment): def _changed_content(self, dependency, target, prev_ni, repo_node=None): return dependency.changed_content(target, prev_ni, repo_node) - def _changed_source(self, dependency, target, prev_ni): + def _changed_source(self, dependency, target, prev_ni, repo_node=None): target_env = dependency.get_build_env() type = target_env.get_tgt_sig_type() if type == 'source': - return target_env.decide_source(dependency, target, prev_ni) + return target_env.decide_source(dependency, target, prev_ni, repo_node) else: - return target_env.decide_target(dependency, target, prev_ni) + return target_env.decide_target(dependency, target, prev_ni, repo_node) def _changed_timestamp_then_content(self, dependency, target, prev_ni, repo_node=None): return dependency.changed_timestamp_then_content(target, prev_ni, repo_node) |