summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-26 20:50:01 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-26 20:50:01 (GMT)
commit0b1f425c3336551ed3f100ac3894c61d294afff6 (patch)
tree1cb3d85f747eabcc6be57a0164dbf6480db38086
parentef8cafb9b6ae66f428bc08b5c97f03d9ae6f1789 (diff)
downloadSCons-0b1f425c3336551ed3f100ac3894c61d294afff6.zip
SCons-0b1f425c3336551ed3f100ac3894c61d294afff6.tar.gz
SCons-0b1f425c3336551ed3f100ac3894c61d294afff6.tar.bz2
Split out calls to simplify for debugging
-rw-r--r--src/engine/SCons/Executor.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index 2fa3f05..bce1549 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -457,10 +457,14 @@ class Executor(object, with_metaclass(NoSlotsPyPy)):
pass
env = self.get_build_env()
- result = bytearray("").join([action.get_contents(self.get_all_targets(),
- self.get_all_sources(),
- env)
- for action in self.get_action_list()])
+ action_list = self.get_action_list()
+ all_targets = self.get_all_targets()
+ all_sources = self.get_all_sources()
+
+ result = bytearray("",'utf-8').join([action.get_contents(all_targets,
+ all_sources,
+ env)
+ for action in action_list])
self._memo['get_contents'] = result
return result