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

Dan Christensen jdc at uwo.ca
Mon Aug 29 18:43:07 BST 2011


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...  :-)

Dan





More information about the OfflineIMAP-project mailing list