GmailMaildir: don't add a tuple to syncmessagesto_passes
Regression introduced by 59b712ecbc
.
Fix-found-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
Signed-off-by: Philipp Meier <github@philipp.meier.name>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
b521b98d99
commit
560d631706
@ -40,8 +40,7 @@ class GmailMaildirFolder(MaildirFolder):
|
||||
|
||||
# If synclabels is enabled, add a 4th pass to sync labels.
|
||||
if self.synclabels:
|
||||
self.syncmessagesto_passes.append(('syncing labels',
|
||||
self.syncmessagesto_labels))
|
||||
self.syncmessagesto_passes.append(self.syncmessagesto_labels)
|
||||
|
||||
def quickchanged(self, statusfolder):
|
||||
"""Returns True if the Maildir has changed.
|
||||
|
Loading…
Reference in New Issue
Block a user