mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb: Fix error handling on thread exceptions when bootstraping.
This commit is contained in:
parent
c1431be196
commit
ad56c6b1c4
@ -116,7 +116,7 @@ class command:
|
||||
|
||||
def reraise(self):
|
||||
if self.result is not None:
|
||||
raise self.result[0](self.result[1]).with_traceback(self.result[2])
|
||||
raise self.result[0](self.result[1])
|
||||
|
||||
class autoreconf:
|
||||
|
||||
|
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user