summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/error.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2020-10-03 21:53:04 +1000
committerChris Johns <chrisj@rtems.org>2020-10-06 12:00:21 +1100
commit158ad680aed1c4fd00f00d5b0e269391597872ef (patch)
treeb3c448838c3471d418cfbc8a49b38b1ba32a7211 /source-builder/sb/error.py
parentfreebsd: FreeBSD 12.1 does not build gcc (diff)
downloadrtems-source-builder-158ad680aed1c4fd00f00d5b0e269391597872ef.tar.bz2
sb: Back port the RTEMS 5 and 6 RSB engine.
- Build GDb first as we do for RTEMS 5 and later - Update GDB to 9.1 for all archs expect SPARC. The SIS patches only apply to 7.9. Disable Python for SPARC Closes #4111
Diffstat (limited to 'source-builder/sb/error.py')
-rw-r--r--source-builder/sb/error.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source-builder/sb/error.py b/source-builder/sb/error.py
index 6a99b0e..5ea19d3 100644
--- a/source-builder/sb/error.py
+++ b/source-builder/sb/error.py
@@ -33,12 +33,12 @@ class error(Exception):
class general(error):
"""Raise for a general error."""
def __init__(self, what):
- self.set_output('error: ' + what)
+ self.set_output('error: ' + str(what))
class internal(error):
"""Raise for an internal error."""
def __init__(self, what):
- self.set_output('internal error: ' + what)
+ self.set_output('internal error: ' + str(what))
class exit(error):
"""Raise for to exit."""