diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-05-24 02:11:05 +0200 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-06-16 21:16:43 +0100 |
commit | c39e7684769fa31ddd7d0200d5baa7e25476275d (patch) | |
tree | 5561e13dfdaf9314a952c69040bdcf1267145149 /alot/errors.py | |
parent | 998c89b9544e2c676bb8ad4ad7e0396eaa070a32 (diff) |
Properly call the constructor of the super class
The previous statement had no effect. The super classes constructor
sets the .message attribute, so it is safe to drop that statement.
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'alot/errors.py')
-rw-r--r-- | alot/errors.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/errors.py b/alot/errors.py index ce88f38e..435a4bf9 100644 --- a/alot/errors.py +++ b/alot/errors.py @@ -19,5 +19,4 @@ class GPGProblem(Exception): """GPG Error""" def __init__(self, message, code): self.code = code - self.message = message - Exception(message) + super(GPGProblem, self).__init__(message) |