Peter Bieringer 1 год назад
Родитель
Сommit
e80bf58901
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      radicale/auth/imap.py

+ 1 - 3
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 ""