Don't request INTERNALDATE when we don't need it. Patch from Marc MERLIN.

This commit is contained in:
John Goerzen 2009-07-16 20:57:07 -05:00
parent 312b91a1a5
commit e66fd5f51a

View File

@ -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: