From b118b808972f4d90177bf3933ecd4586d149816a 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 18:35:01 +0200 Subject: [PATCH] imapserver.py Removed unused variables These variables are not used. --- offlineimap/imapserver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py index 3c2816f..3791281 100644 --- a/offlineimap/imapserver.py +++ b/offlineimap/imapserver.py @@ -358,7 +358,7 @@ class IMAPServer(): try: imapobj.authenticate('GSSAPI', self.__gsshandler) return True - except imapobj.error as e: + except imapobj.error: self.gssapi = False raise finally: @@ -815,9 +815,7 @@ class IdleThread: def __dosync(self): remoterepos = self.parent.repos account = remoterepos.account - localrepos = account.localrepos remoterepos = account.remoterepos - statusrepos = account.statusrepos remotefolder = remoterepos.getfolder(self.folder, decode=False) hook = account.getconf('presynchook', '')