diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-06 10:29:18 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-17 11:37:03 -0400 |
commit | 26d6db6210eaca18002c1ec8c5619d7fbd3e4243 (patch) | |
tree | 5e7fc2d5f27297a3e5e0bc9b14267f6ea06a4f25 /src/leap | |
parent | 3b6ff2133e477441eb8f6956a17be2412fa1ac7c (diff) |
temporarily nuke out the fetch_heders diversion
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/mail/imap/server.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/leap/mail/imap/server.py b/src/leap/mail/imap/server.py index ba63846..f4b9f71 100644 --- a/src/leap/mail/imap/server.py +++ b/src/leap/mail/imap/server.py @@ -114,14 +114,16 @@ class LeapIMAPServer(imap4.IMAP4Server): ).addCallback( cbFetch, tag, query, uid ).addErrback(ebFetch, tag) - elif len(query) == 1 and str(query[0]) == "rfc822.header": - self._oldTimeout = self.setTimeout(None) + + # XXX not implemented yet --- should hit memstore + #elif len(query) == 1 and str(query[0]) == "rfc822.header": + #self._oldTimeout = self.setTimeout(None) # no need to call iter, we get a generator - maybeDeferred( - self.mbox.fetch_headers, messages, uid=uid - ).addCallback( - cbFetch, tag, query, uid - ).addErrback(ebFetch, tag) + #maybeDeferred( + #self.mbox.fetch_headers, messages, uid=uid + #).addCallback( + #cbFetch, tag, query, uid + #).addErrback(ebFetch, tag) else: self._oldTimeout = self.setTimeout(None) # no need to call iter, we get a generator |