From e66fd5f51a305b190c40e5ce265aa4efffcd38c9 Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Thu, 16 Jul 2009 20:57:07 -0500 Subject: [PATCH] Don't request INTERNALDATE when we don't need it. Patch from Marc MERLIN. --- offlineimap/folder/IMAP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py index d57f077..5d5945f 100644 --- a/offlineimap/folder/IMAP.py +++ b/offlineimap/folder/IMAP.py @@ -135,7 +135,7 @@ class IMAPFolder(BaseFolder): # Now, get the flags and UIDs for these. # We could conceivably get rid of maxmsgid and just say # '1:*' here. - response = imapobj.fetch('1:%d' % maxmsgid, '(FLAGS UID INTERNALDATE)')[1] + response = imapobj.fetch('1:%d' % maxmsgid, '(FLAGS UID)')[1] finally: self.imapserver.releaseconnection(imapobj) for messagestr in response: