summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-10-24 21:36:21 +1100
committerChris Johns <chrisj@rtems.org>2018-10-24 21:43:18 +1100
commitceeb3be303188f9d649313d6eec6d30873ba7229 (patch)
treec5b03aa39ed0f56bec369c10fd435ef48a839df9
parentBump epiphany, m32c, or1k, and riscv to latest newlib. (diff)
downloadrtems-source-builder-ceeb3be303188f9d649313d6eec6d30873ba7229.tar.bz2
sb: Convert any unicode macro values to a string in __str__.
-rw-r--r--source-builder/sb/macros.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source-builder/sb/macros.py b/source-builder/sb/macros.py
index 2abe386..9ba6cac 100644
--- a/source-builder/sb/macros.py
+++ b/source-builder/sb/macros.py
@@ -123,6 +123,7 @@ class macros:
lc = 0
for l in ds:
lc += 1
+ l = self._unicode_to_str(l)
while len(l):
if indent:
text += ' %21s %10s %12s' % (' ', ' ', ' ')