From 2d0e52186f87dbebd3f24710aff5b009dfc76128 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Thu, 11 Apr 2019 15:19:52 +0100 Subject: COMPMID-1995: Fix Sconscript TypeError Change-Id: If363195d5b3d6debb2bbd0c6abe4fb2344ecb384 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/978 Reviewed-by: Gian Marco Iodice Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConscript b/SConscript index d63206b765..03976ea830 100644 --- a/SConscript +++ b/SConscript @@ -70,7 +70,7 @@ def resolve_includes(target, source, env): for i in range(len(source)): src = source[i] dst = target[i] - contents = src.get_contents().splitlines() + contents = src.get_contents().decode('utf-8').splitlines() entry = FileEntry(target_name=dst, file_contents=contents) files.append((os.path.basename(src.get_path()),entry)) -- cgit v1.2.1