doc-src: nametrans.rst: fix minor error

- Typo in code was corrected by aeeea5
- Update prose to match code

Submitted-by: sumbach (Github)
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2015-01-09 01:16:06 +01:00
parent 2f9d8d22ee
commit 4273c9b305

View File

@ -141,7 +141,7 @@ Take the above examples. If your remote nametrans setting was::
nametrans = lambda folder: re.sub('^INBOX\.', '', folder) nametrans = lambda folder: re.sub('^INBOX\.', '', folder)
then you will want to have this in your local repository, prepending "INBOX" to then you will want to have this in your local repository, prepending "INBOX." to
any local folder name:: any local folder name::
nametrans = lambda folder: 'INBOX.' + folder nametrans = lambda folder: 'INBOX.' + folder