summaryrefslogtreecommitdiff
path: root/src/leap/mail/mail.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-15 15:50:20 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commit26034f854a3b1cc4a39b2e46b57140af27a08ddc (patch)
tree7af47fccd3e9cff2b04ab1222a0af387975d68a4 /src/leap/mail/mail.py
parent338a5d6c1e0d6bae05d2756eb6e4c20b38d444d9 (diff)
update mail/imap tests
Diffstat (limited to 'src/leap/mail/mail.py')
-rw-r--r--src/leap/mail/mail.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/mail/mail.py b/src/leap/mail/mail.py
index cb37d25..8629d0e 100644
--- a/src/leap/mail/mail.py
+++ b/src/leap/mail/mail.py
@@ -285,6 +285,8 @@ class MessageCollection(object):
self.mbox_indexer = mbox_indexer
self.mbox_wrapper = mbox_wrapper
+ # TODO --- review this count shit. I think it's better to patch server
+ # to accept deferreds.
# TODO need to initialize count here because imap server does not
# expect a defered for the count. caller should return the deferred for
# prime_count (ie, initialize) when returning the collection
@@ -295,10 +297,6 @@ class MessageCollection(object):
count = 0
self._count = count
- #def initialize(self):
- #d = self.prime_count()
- #return d
-
def is_mailbox_collection(self):
"""
Return True if this collection represents a Mailbox.