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

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Aug 30 21:04:59 BST 2011


On Tue, Aug 30, 2011 at 08:57:13AM +0200, Sebastian Spaeth wrote:
> On Mon, 29 Aug 2011 13:43:07 -0400, Dan Christensen <jdc at uwo.ca> 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...  :-)
> 
> Actually no, this was on purpose.
> 
> http://docs.python.org/library/configparser.html:
> 
> [My Section]
> foodir: %(dir)s/whatever
> dir=frob
> long: this value continues
>    in the next line

Ha, ha! Comming back to your original version...

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list