No need to filter Maildir folders here
commit e94642bb4d
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 <Sebastian@SSpaeth.de>
This commit is contained in:
parent
e94642bb4d
commit
7d1d5283f8
@ -181,11 +181,6 @@ class MaildirRepository(BaseRepository):
|
|||||||
foldername,
|
foldername,
|
||||||
self.getsep(),
|
self.getsep(),
|
||||||
self))
|
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 != '':
|
if self.getsep() == '/' and dirname != '':
|
||||||
# Recursively check sub-directories for folders too.
|
# Recursively check sub-directories for folders too.
|
||||||
|
Loading…
Reference in New Issue
Block a user