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', '')