From f10e3a58fc42a5f4fb0179072d50ab52996309aa Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Tue, 30 Aug 2011 22:05:44 +0200 Subject: [PATCH] MANUAL: fix typo about variable declaration in configuration file I included a wrong change in commit dcfdf2ade7434d0d529c writen by Sebastian. As he said: > 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 Reported-by: Sebastian Spaeth Signed-off-by: Nicolas Sebrecht --- docs/MANUAL.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MANUAL.rst b/docs/MANUAL.rst index 6c29041..928ae40 100644 --- a/docs/MANUAL.rst +++ b/docs/MANUAL.rst @@ -478,7 +478,7 @@ Another nametrans transpose example Put everything in a GMX. subfolder except for the boxes INBOX, Draft, and Sent which should keep the same name:: - nametrans = lambda folder: folder if folder in ['INBOX', 'Drafts', 'Sent'] \ + nametrans: lambda folder: folder if folder in ['INBOX', 'Drafts', 'Sent'] \ else re.sub(r'^', r'GMX.', folder) 2 IMAP using name translations