From 7d1d5283f8c058e23200817bd0c47c04982075a4 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 1 Sep 2012 02:49:00 +0200 Subject: [PATCH] No need to filter Maildir folders here commit e94642bb4d591a1ea12 centralized folder filtering by using the repository.should_sync_folder() function. Therefore there is no need to check for folderfilter in the Maildir backend separately. Origina patch by Dave, split into 3 by Sebastian Signed-off-by: Sebastian Spaeth --- offlineimap/repository/Maildir.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/offlineimap/repository/Maildir.py b/offlineimap/repository/Maildir.py index f197002..f2d5581 100644 --- a/offlineimap/repository/Maildir.py +++ b/offlineimap/repository/Maildir.py @@ -181,11 +181,6 @@ class MaildirRepository(BaseRepository): foldername, self.getsep(), self)) - # filter out the folder? - if not self.folderfilter(foldername): - self.debug("Filtering out '%s'[%s] due to folderfilt" - "er" % (foldername, self)) - retval[-1].sync_this = False if self.getsep() == '/' and dirname != '': # Recursively check sub-directories for folders too.