From 4d2f2c3ad329c29a9124ec590a698a860d19131d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 15 Jan 2016 16:56:15 +0200 Subject: Add a default StructuredMessage.msg (None) --- obnamlib/structurederror.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'obnamlib/structurederror.py') 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 -- cgit v1.2.1