diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-20 01:11:26 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-20 11:50:10 -0400 |
commit | 4bcb32639bff9a5aab076dba2bdc7667cea60c7f (patch) | |
tree | 92e5a611ab54f970903ca89c38d1e27f326709a3 /src/leap/mail/imap/mailbox.py | |
parent | 95e00da239bd119ae161f249a74af229cb6c7759 (diff) |
fix rdoc duplication
Diffstat (limited to 'src/leap/mail/imap/mailbox.py')
-rw-r--r-- | src/leap/mail/imap/mailbox.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py index d7be662..59b2b40 100644 --- a/src/leap/mail/imap/mailbox.py +++ b/src/leap/mail/imap/mailbox.py @@ -135,6 +135,9 @@ class SoledadMailbox(WithMsgFields, MBoxParser): leap_assert(mbox, "Need a mailbox name to initialize") leap_assert(soledad, "Need a soledad instance to initialize") + from twisted.internet import reactor + self.reactor = reactor + self.mbox = self._parse_mailbox_name(mbox) self.rw = rw @@ -158,9 +161,6 @@ class SoledadMailbox(WithMsgFields, MBoxParser): self.prime_last_uid_to_memstore() self.prime_flag_docs_to_memstore() - from twisted.internet import reactor - self.reactor = reactor - # purge memstore from empty fdocs. self._memstore.purge_fdoc_store(mbox) |