From 560d631706507e7f5356baeb952d81a893d2b0ca Mon Sep 17 00:00:00 2001 From: Philipp Meier Date: Wed, 27 Jul 2016 16:15:21 +0200 Subject: [PATCH] GmailMaildir: don't add a tuple to syncmessagesto_passes Regression introduced by 59b712ecbc7. Fix-found-by: Abdo Roig-Maranges Signed-off-by: Philipp Meier Signed-off-by: Nicolas Sebrecht --- offlineimap/folder/GmailMaildir.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/offlineimap/folder/GmailMaildir.py b/offlineimap/folder/GmailMaildir.py index 1df1413..1405ec7 100644 --- a/offlineimap/folder/GmailMaildir.py +++ b/offlineimap/folder/GmailMaildir.py @@ -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.