diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-01-15 16:56:15 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-01-15 17:16:28 +0200 |
commit | 4d2f2c3ad329c29a9124ec590a698a860d19131d (patch) | |
tree | 3723dc17c8b8786f634c2533e2a363b2387fe55e /obnamlib/structurederror.py | |
parent | 8910065872e74c6cdcb15d784fad3abfe4a8edb8 (diff) | |
download | obnam-4d2f2c3ad329c29a9124ec590a698a860d19131d.tar.gz |
Add a default StructuredMessage.msg (None)
Diffstat (limited to 'obnamlib/structurederror.py')
-rw-r--r-- | obnamlib/structurederror.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/structurederror.py b/obnamlib/structurederror.py index 01bbbcae..f320194c 100644 --- a/obnamlib/structurederror.py +++ b/obnamlib/structurederror.py @@ -77,6 +77,8 @@ class StructuredError(Exception): ''' + msg = None + def __init__(self, **kwargs): Exception.__init__(self) self.kwargs = kwargs |