mbnames should write out local and not nametransformed box names

Rather than to write out the nametrans'lated folder names for mbnames,
we now write out the local untransformed box names. This is generally
what we want. This became relevant since we support nametrans rules on
the local side since only a short time. Reported by Paul Collignan.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth 2012-01-08 12:48:21 +01:00
parent 7184ec28cc
commit 81f194adca
2 changed files with 6 additions and 1 deletions

View File

@ -19,5 +19,10 @@ New Features
Changes
-------
* Rather than to write out the nametrans'lated folder names for mbnames,
we now write out the local untransformed box names. This is generally
what we want. This became relevant since we support nametrans rules on
the local side since only a short time. Reported by Paul Collignan.
Bug Fixes
---------

View File

@ -372,7 +372,7 @@ def syncfolder(account, remotefolder, quick):
% localfolder)
return
# Write the mailboxes
mbnames.add(account.name, localfolder.getvisiblename())
mbnames.add(account.name, localfolder.getname())
# Load status folder.
statusfolder = statusrepos.getfolder(remotefolder.getvisiblename().\