summaryrefslogtreecommitdiff
path: root/SCons/Node/Python.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-12-14 09:01:59 -0800
committerGitHub <noreply@github.com>2020-12-14 09:01:59 -0800
commit063ba8e9531d9a17df4e5e8200371f5c4cacf698 (patch)
treef4148800c85f2727135cf9998e0cf96536b5ad64 /SCons/Node/Python.py
parente64123b82ec401e3b34aefd3f9524b8a69f0d214 (diff)
parentc94a185bf1ff9a20e31f9ff68f65a1eed50760b1 (diff)
downloadscons-git-063ba8e9531d9a17df4e5e8200371f5c4cacf698.tar.gz
Merge pull request #3384 from dragon512/fix/valuenode-content
Fix value node when used as part of a build on python3
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: