stop UID FETCH 0 errors

This commit is contained in:
Adam Spiers 2006-05-16 04:31:44 +01:00
parent 2e52bcdafe
commit b39845c488

View File

@ -242,7 +242,8 @@ class IMAPFolder(BaseFolder):
finally: finally:
self.imapserver.releaseconnection(imapobj) self.imapserver.releaseconnection(imapobj)
self.messagelist[uid] = {'uid': uid, 'flags': flags} if uid:
self.messagelist[uid] = {'uid': uid, 'flags': flags}
ui.debug('imap', 'savemessage: returning %d' % uid) ui.debug('imap', 'savemessage: returning %d' % uid)
return uid return uid