diff --git a/alot/errors.py b/alot/errors.py
index <HASH>..<HASH> 100644
--- a/alot/errors.py
+++ b/alot/errors.py
@@ -3,7 +3,7 @@
 # For further details see the COPYING file
 
 
-class GPGCode:
+class GPGCode(object):
     AMBIGUOUS_NAME = 1
     NOT_FOUND = 2
     BAD_PASSPHRASE = 3
Turn alot.errors.GPGCode into a new style class