[PATCH 2/3] Maildir relative paths change was not complete

Vladimir.Marek at oracle.com Vladimir.Marek at oracle.com
Wed Aug 17 09:01:38 BST 2011


From: Vladimir Marek <vlmarek at volny.cz>

In commit e023f190b0eed84fefc10e28bfe5e4e0467ff257 we missed one spot

Signed-off-by: Vladimir Marek <vlmarek at volny.cz>
---
 offlineimap/folder/Maildir.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/offlineimap/folder/Maildir.py b/offlineimap/folder/Maildir.py
index 3b53156..2646205 100644
--- a/offlineimap/folder/Maildir.py
+++ b/offlineimap/folder/Maildir.py
@@ -128,7 +128,7 @@ class MaildirFolder(BaseFolder):
         folderstr = ',FMD5=' + foldermd5
         for dirannex in ['new', 'cur']:
             fulldirname = os.path.join(self.getfullname(), dirannex)
-            files.extend(os.path.join(fulldirname, filename) for
+            files.extend(os.path.join(dirannex, filename) for
                          filename in os.listdir(fulldirname))
         for file in files:
             messagename = os.path.basename(file)
-- 
  Vlad





More information about the OfflineIMAP-project mailing list