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

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Aug 30 07:57:13 BST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110830/8833d3ae/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list