diff options
author | Kali Kaneko <kali@leap.se> | 2014-01-08 21:39:27 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-01-08 21:39:32 -0400 |
commit | e4f2914517ea11aeef60aa74be50116e1979f34d (patch) | |
tree | 857b6c6aaabb424df8da3a4be6081c75a6a21b4c /src/leap/mail | |
parent | 4ba5d5b405e3c6a6bc997df2073ffc8ea3fa75a9 (diff) |
handle all fetches as sequential
* this allows quick testing using telnet, and the use of other
less sofisticated MUAs.
Diffstat (limited to 'src/leap/mail')
-rw-r--r-- | src/leap/mail/imap/mailbox.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/leap/mail/imap/mailbox.py b/src/leap/mail/imap/mailbox.py index 1d76d4d..7c01490 100644 --- a/src/leap/mail/imap/mailbox.py +++ b/src/leap/mail/imap/mailbox.py @@ -479,11 +479,13 @@ class SoledadMailbox(WithMsgFields, MBoxParser): """ result = [] - # XXX DEBUG ------------- - print "getting uid", uid - print "in mbox", self.mbox + # For the moment our UID is sequential, so we + # can treat them all the same. + # Change this to the flag that twisted expects when we + # switch to content-hash based index + local UID table. - sequence = True if uid == 0 else False + sequence = False + #sequence = True if uid == 0 else False if not messages.last: try: |