diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-15 16:06:56 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-15 16:11:18 -0400 |
commit | 16dc639511e0a87ad83b6b4a161586c3a17b6bf8 (patch) | |
tree | cdf0181b11c65ee7bfd9321c2244b28dbb450130 /mail/src/leap/mail/imap/account.py | |
parent | c5980d0be3732f30bcbcd6a7742ad56ee3d48cd7 (diff) |
[refactor] change IMAPAccount signature
for consistency with the previous Account change.
Diffstat (limited to 'mail/src/leap/mail/imap/account.py')
-rw-r--r-- | mail/src/leap/mail/imap/account.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/src/leap/mail/imap/account.py b/mail/src/leap/mail/imap/account.py index 0b8e0198..459b0ba1 100644 --- a/mail/src/leap/mail/imap/account.py +++ b/mail/src/leap/mail/imap/account.py @@ -60,7 +60,7 @@ class IMAPAccount(object): selected = None - def __init__(self, user_id, store, d=defer.Deferred()): + def __init__(self, store, user_id, d=defer.Deferred()): """ Keeps track of the mailboxes and subscriptions handled by this account. @@ -69,12 +69,13 @@ class IMAPAccount(object): You can either pass a deferred to this constructor, or use `callWhenReady` method. + :param store: a Soledad instance. + :type store: Soledad + :param user_id: The identifier of the user this account belongs to (user id, in the form user@provider). :type user_id: str - :param store: a Soledad instance. - :type store: Soledad :param d: a deferred that will be fired with this IMAPAccount instance when the account is ready to be used. |