diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-05-27 18:31:47 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-05-27 18:31:47 +0100 |
commit | dff018e7cb6c885433e1e91fe0e5162e1e329301 (patch) | |
tree | 134e5229f87ae6e813368057260c404d93e4e6aa /alot/errors.py | |
parent | 7f800370151466fb07db1eba4b3b343cbd03561c (diff) |
remove old new-style classes syntax
Python3 only supports "new-style" classes (those extending object),
and we don't need to explicitly inherit from this root class any more.
See http://pylint-messages.wikidot.com/messages:c1001
Diffstat (limited to 'alot/errors.py')
-rw-r--r-- | alot/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/errors.py b/alot/errors.py index b9763192..0df10adc 100644 --- a/alot/errors.py +++ b/alot/errors.py @@ -3,7 +3,7 @@ # For further details see the COPYING file -class GPGCode(object): +class GPGCode: AMBIGUOUS_NAME = 1 NOT_FOUND = 2 BAD_PASSPHRASE = 3 |