Fix bug in GmailMaildir cause by still adding a tuple to syncmessagesto_passes

Signed-off-by: Philipp Meier <github@philipp.meier.name>
This commit is contained in:
Philipp Meier 2016-07-27 16:15:21 +02:00
parent 65295b01ef
commit e9aea939cf
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.