[PATCH] Re: MANUAL.rst: folderfilter->nametrans typo

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Aug 29 19:44:03 UTC 2011


On Mon, Aug 29, 2011 at 01:43:07PM -0400, Dan Christensen wrote:
> Sebastian Spaeth <Sebastian at SSpaeth.de> writes:
> 
> > -     folderfilter = lambda folder: re.sub(r'^(?!INBOX$|Draft$|Sent$)',r'GMX.', folder)
> > +     nametrans: lambda folder: folder if folder in ['INBOX', 'Drafts', 'Sent'] \
> > +                               else re.sub(r'^', r'GMX.', folder)
> 
> I think the first colon should be an equals sign...  :-)

Fixed and merged; thank you both.

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list