From e80bf589012a8fcb4864c439f709fe8d97682521 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 16 Jan 2025 06:05:14 +0100 Subject: [PATCH] imap: flake8 fixes --- radicale/auth/imap.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/radicale/auth/imap.py b/radicale/auth/imap.py index 66b67935..0f78bca9 100644 --- a/radicale/auth/imap.py +++ b/radicale/auth/imap.py @@ -17,7 +17,6 @@ import imaplib import ssl -import string from radicale import auth from radicale.log import logger @@ -66,6 +65,5 @@ class Auth(auth.BaseAuth): 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 ""