[rtems-source-builder commit] sb: Convert any unicode macro values to a string in __str__.

Chris Johns chrisj at rtems.org
Wed Oct 24 10:46:04 UTC 2018


Module:    rtems-source-builder
Branch:    master
Commit:    ceeb3be303188f9d649313d6eec6d30873ba7229
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=ceeb3be303188f9d649313d6eec6d30873ba7229

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Oct 24 21:36:21 2018 +1100

sb: Convert any unicode macro values to a string in __str__.

---

 source-builder/sb/macros.py | 1 +
 1 file changed, 1 insertion(+)

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' % (' ', ' ', ' ')



More information about the vc mailing list