imapserver.py Removed unused variables

These variables are not used.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 18:35:01 +02:00
parent b860e93072
commit b118b80897

View File

@ -358,7 +358,7 @@ class IMAPServer():
try: try:
imapobj.authenticate('GSSAPI', self.__gsshandler) imapobj.authenticate('GSSAPI', self.__gsshandler)
return True return True
except imapobj.error as e: except imapobj.error:
self.gssapi = False self.gssapi = False
raise raise
finally: finally:
@ -815,9 +815,7 @@ class IdleThread:
def __dosync(self): def __dosync(self):
remoterepos = self.parent.repos remoterepos = self.parent.repos
account = remoterepos.account account = remoterepos.account
localrepos = account.localrepos
remoterepos = account.remoterepos remoterepos = account.remoterepos
statusrepos = account.statusrepos
remotefolder = remoterepos.getfolder(self.folder, decode=False) remotefolder = remoterepos.getfolder(self.folder, decode=False)
hook = account.getconf('presynchook', '') hook = account.getconf('presynchook', '')