summaryrefslogtreecommitdiff
path: root/SCons/Node/Python.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/Node/Python.py')
-rw-r--r--SCons/Node/Python.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/SCons/Node/Python.py b/SCons/Node/Python.py
index 0eab05c93..738682ccb 100644
--- a/SCons/Node/Python.py
+++ b/SCons/Node/Python.py
@@ -138,7 +138,8 @@ class Value(SCons.Node.Node):
###TODO: something reasonable about universal newlines
contents = str(self.value)
for kid in self.children(None):
- contents = contents + kid.get_contents().decode()
+ # Get csig() value of child as this is more efficent
+ contents = contents + kid.get_csig()
return contents
def get_contents(self) -> bytes: