]> code.delx.au - offlineimap/commitdiff
Finally fix the stupid LocalStatus folder bug, I really hope!
authorJohn Goerzen <jgoerzen@complete.org>
Sun, 11 May 2008 02:08:05 +0000 (21:08 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Sun, 11 May 2008 02:08:05 +0000 (21:08 -0500)
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

offlineimap/repository/Base.py

index 05e8c326c719f72408145d2253ae7d64b61e8ba8..ed07b572b87872e3749a9e3ee0eddae90d7cfde1 100644 (file)
@@ -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.