folder/Maildir: ignore dot files
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
4a06c2af24
commit
452ada330a
@ -163,6 +163,8 @@ class MaildirFolder(BaseFolder):
|
|||||||
|
|
||||||
date_excludees = {}
|
date_excludees = {}
|
||||||
for dirannex, filename in files:
|
for dirannex, filename in files:
|
||||||
|
if filename.startswith('.'):
|
||||||
|
continue # Ignore dot files.
|
||||||
# We store just dirannex and filename, ie 'cur/123...'
|
# We store just dirannex and filename, ie 'cur/123...'
|
||||||
filepath = os.path.join(dirannex, filename)
|
filepath = os.path.join(dirannex, filename)
|
||||||
# Check maxsize if this message should be considered.
|
# Check maxsize if this message should be considered.
|
||||||
|
Loading…
Reference in New Issue
Block a user