PARTIALLY REMOVING MAXAGE (was: [PATCH v4] make maxage use UIDs to avoid timezone issues)
nicolas.s-dev at laposte.net
Tue Apr 7 11:00:43 BST 2015
On Tue, Apr 07, 2015 at 01:14:11AM -0700, Janna Martl wrote:
> Oops, this was in my local copy but didn't make it into the patch.
> diff --git a/offlineimap/folder/UIDMaps.py b/offlineimap/folder/UIDMaps.py
> index 04a986b..1e54f2b 100644
> --- a/offlineimap/folder/UIDMaps.py
> +++ b/offlineimap/folder/UIDMaps.py
> @@ -94,9 +94,10 @@ class MappedIMAPFolder(IMAPFolder):
> OfflineImapError.ERROR.MESSAGE), None, exc_info()
> # Interface from BaseFolder
> - def cachemessagelist(self):
> - self._mb.cachemessagelist()
> + def cachemessagelist(self, min_date=None, min_uid=None):
> + self._mb.cachemessagelist(min_date=min_date, min_uid=min_uid)
> reallist = self._mb.getmessagelist()
> + self.messagelist = self._mb.messagelist
This hunk was rejected: already applied. :-)
> On Mon, Apr 06, 2015 at 11:45:17AM +0200, Nicolas Sebrecht wrote:
> >Looks good to me. Did you test this patch?
> Yes. The full thing I sign off on is below.
> fix timezone issues, remove IMAP-IMAP support, add startdate option
Thank you much. Applied.
More information about the OfflineIMAP-project