Fix include paths for uvision when exported with Python 3.

The call to encode() was causing the include paths to be placed in the
uvision product file with the prefix "b'" and the postfix "'". This
broke the parsing of this file and broke the build.
pull/10326/head
Brian Daniels 2019-03-08 15:37:11 -06:00 committed by Martin Kojtal
parent c2e730c15c
commit fc37879873
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ class Uvision(Exporter):
'project_files': sorted(list(self.format_src(srcs).items()),
key=lambda tuple: tuple[0].lower()),
'include_paths': ';'.join(self.filter_dot(d) for d in
self.resources.inc_dirs).encode('utf-8'),
self.resources.inc_dirs),
'device': DeviceUvision(self.target),
}
sct_name, sct_path = self.resources.get_file_refs(