From a1f907696f55e6dd11a903bda14a0caeef7fc5ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 13:37:28 +0200 Subject: [PATCH] folder/LocalStatusSQLite.py split the if This patch splits the if to avoid multiple commands in the same line. --- offlineimap/folder/LocalStatusSQLite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/offlineimap/folder/LocalStatusSQLite.py b/offlineimap/folder/LocalStatusSQLite.py index fb9679d..3950bb9 100644 --- a/offlineimap/folder/LocalStatusSQLite.py +++ b/offlineimap/folder/LocalStatusSQLite.py @@ -369,7 +369,8 @@ class LocalStatusSQLiteFolder(BaseFolder): def savemessagelabels(self, uid, labels, mtime=None): self.messagelist[uid]['labels'] = labels - if mtime: self.messagelist[uid]['mtime'] = mtime + if mtime: + self.messagelist[uid]['mtime'] = mtime labels = ', '.join(sorted(labels)) if mtime: