From: John Goerzen Date: Sun, 11 May 2008 02:08:05 +0000 (-0500) Subject: Finally fix the stupid LocalStatus folder bug, I really hope! X-Git-Tag: debian/5.99.15~1 X-Git-Url: https://code.delx.au/offlineimap/commitdiff_plain/3ff37143b5f067dd6aded34a39b5562f29a8b4fe?hp=5dc33409e3145c18e8ccdb3a0b3e5112d793fda3 Finally fix the stupid LocalStatus folder bug, I really hope! Noted thie code: statusfolder = statusrepos.getfolder(remotefolder.getvisiblename().\ replace(remoterepos.getsep(), statusrepos.getsep())) in accounts.py. Should have been using the sep of the LocalStatus all along. refs deb#479798, #68 --- diff --git a/offlineimap/repository/Base.py b/offlineimap/repository/Base.py index 05e8c32..ed07b57 100644 --- a/offlineimap/repository/Base.py +++ b/offlineimap/repository/Base.py @@ -154,7 +154,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): if not key in desthash: dest.makefolder(key) for copyfolder in copyfolders: - copyfolder.makefolder(key.replace(dest.getsep(), src.getsep())) + copyfolder.makefolder(key.replace(dest.getsep(), copyfolder.getsep())) # # Find deleted folders.