diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-09-22 10:13:06 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2011-09-22 10:13:06 +0200 |
commit | f60515cfac2cb623f7c9698a2ce10030fbb41637 (patch) | |
tree | a118ed8a6fcd42670f7bc4d44591426d1e068028 /alot/account.py | |
parent | 05dcb7a9d018b192a950a292af8064c5436ee90c (diff) |
Use new-style classes
See http://www.python.org/download/releases/2.3/mro/ for all the gory details.
Diffstat (limited to 'alot/account.py')
-rw-r--r-- | alot/account.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/account.py b/alot/account.py index 74e9beea..91ef5fff 100644 --- a/alot/account.py +++ b/alot/account.py @@ -32,7 +32,7 @@ from helper import cmd_output import helper -class Account: +class Account(object): """ Datastructure that represents an email account. It manages this account's settings, can send and store mails to @@ -159,7 +159,7 @@ class SendmailAccount(Account): return None -class AccountManager: +class AccountManager(object): """Easy access to all known accounts""" allowed = ['realname', 'address', @@ -256,7 +256,7 @@ class AccountManager: return abooks -class AddressBook: +class AddressBook(object): def get_contacts(self): return [] |