summaryrefslogtreecommitdiff
path: root/alot/errors.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
commitdff018e7cb6c885433e1e91fe0e5162e1e329301 (patch)
tree134e5229f87ae6e813368057260c404d93e4e6aa /alot/errors.py
parent7f800370151466fb07db1eba4b3b343cbd03561c (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.py2
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