mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-23 17:48:30 +00:00
imap: flake8 fixes
This commit is contained in:
parent
bc939522dc
commit
e80bf58901
1 changed files with 1 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
import imaplib
|
import imaplib
|
||||||
import ssl
|
import ssl
|
||||||
import string
|
|
||||||
|
|
||||||
from radicale import auth
|
from radicale import auth
|
||||||
from radicale.log import logger
|
from radicale.log import logger
|
||||||
|
@ -66,6 +65,5 @@ class Auth(auth.BaseAuth):
|
||||||
connection.logout()
|
connection.logout()
|
||||||
return login
|
return login
|
||||||
except (OSError, imaplib.IMAP4.error) as e:
|
except (OSError, imaplib.IMAP4.error) as e:
|
||||||
logger.error("Failed to communicate with IMAP server %r: "
|
logger.error("Failed to communicate with IMAP server %r: %s" % ("[%s]:%d" % (self._host, self._port), e))
|
||||||
"%s" % ("[%s]:%d" % (self._host, self._port), e))
|
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue