From c94a185bf1ff9a20e31f9ff68f65a1eed50760b1 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 15 Jun 2020 11:30:47 -0500 Subject: Fix value node when used as part of a build on python3 --- SCons/Node/Python.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'SCons/Node/Python.py') diff --git a/SCons/Node/Python.py b/SCons/Node/Python.py index 68c6ee88b..ab005dfee 100644 --- a/SCons/Node/Python.py +++ b/SCons/Node/Python.py @@ -144,7 +144,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): -- cgit v1.2.1