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:
Philipp Meier 2016-07-27 16:15:21 +02:00 committed by Nicolas Sebrecht
parent b521b98d99
commit 560d631706
1 changed files with 1 additions and 2 deletions

View File

@ -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.