From 9b287d2a44a36c32957bb862b9ad11e93384251d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 29 Aug 2015 11:31:52 +0300 Subject: Call Exception.__init__ in StructuredError --- obnamlib/structurederror.py | 1 + 1 file changed, 1 insertion(+) (limited to 'obnamlib/structurederror.py') diff --git a/obnamlib/structurederror.py b/obnamlib/structurederror.py index 581a762e..01bbbcae 100644 --- a/obnamlib/structurederror.py +++ b/obnamlib/structurederror.py @@ -78,6 +78,7 @@ class StructuredError(Exception): ''' def __init__(self, **kwargs): + Exception.__init__(self) self.kwargs = kwargs @property -- cgit v1.2.1