diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Executor.py | 12 |
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 |