summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/error.py
diff options
context:
space:
mode:
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."""