diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-01-30 20:23:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 20:23:20 (GMT) |
commit | 1e71abf4c79e74adff68eea8eb9b40bfbf1260c3 (patch) | |
tree | 99fb4d6c53cea2ad6d6542f04a97e8652aaf3c5a /src/engine/SCons/Tool/__init__.py | |
parent | 337906cbc01693f4daff40bb22028b8a39f0bc6d (diff) | |
parent | 5dc329a52fa144436e1891be92a78ce313101dd9 (diff) | |
download | SCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.zip SCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.tar.gz SCons-1e71abf4c79e74adff68eea8eb9b40bfbf1260c3.tar.bz2 |
Merge branch 'master' into issue-3469
Diffstat (limited to 'src/engine/SCons/Tool/__init__.py')
-rw-r--r-- | src/engine/SCons/Tool/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/__init__.py b/src/engine/SCons/Tool/__init__.py index 14306ab..76a0913 100644 --- a/src/engine/SCons/Tool/__init__.py +++ b/src/engine/SCons/Tool/__init__.py @@ -1130,7 +1130,7 @@ class ToolInitializer(object): so we no longer copy and re-bind them when the construction environment gets cloned. """ - for method in list(self.methods.values()): + for method in self.methods.values(): env.RemoveMethod(method) def apply_tools(self, env): @@ -1312,6 +1312,8 @@ def tool_list(platform, env): 'tar', 'zip', # File builders (text) 'textfile', + # Python scanner tool + 'python', ], env) tools = ([linker, c_compiler, cxx_compiler, |