Skip to content

Commit

Permalink
imap: flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Jan 16, 2025
1 parent bc93952 commit e80bf58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions radicale/auth/imap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import imaplib
import ssl
import string

from radicale import auth
from radicale.log import logger
Expand Down Expand Up @@ -66,6 +65,5 @@ def _login(self, login, password) -> str:
connection.logout()
return login
except (OSError, imaplib.IMAP4.error) as e:
logger.error("Failed to communicate with IMAP server %r: "
"%s" % ("[%s]:%d" % (self._host, self._port), e))
logger.error("Failed to communicate with IMAP server %r: %s" % ("[%s]:%d" % (self._host, self._port), e))
return ""

0 comments on commit e80bf58

Please sign in to comment.