summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-03-23 06:47:47 +0530
committerTim-Philipp Müller <tim@centricular.com>2018-03-23 20:37:57 +0000
commit0445e6ec717501053e859d4b102e1f7290a30130 (patch)
tree9b0ea765efd562637de45b336a862147ad4d4ef2
parentf79e29f7748d60570e04541ac5d35e932a00e4b3 (diff)
cerbero: Fix FatalError message printing
This was inadvertently broken in a0a134fdf
-rw-r--r--cerbero/errors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cerbero/errors.py b/cerbero/errors.py
index 476aed12..1b3fb135 100644
--- a/cerbero/errors.py
+++ b/cerbero/errors.py
@@ -39,8 +39,9 @@ class UsageError(CerberoException):
class FatalError(CerberoException):
header = 'Fatal Error: '
- def __init__(self, arch=''):
+ def __init__(self, msg='', arch=''):
self.arch = arch
+ CerberoException.__init__(self, msg)
class CommandError(CerberoException):
header = 'Command Error: '