imapserver: fix syntax error

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2017-06-30 16:42:47 +02:00
parent fe2e3249ac
commit 212ed87509

View File

@ -619,8 +619,8 @@ class IMAPServer(object):
if self.port != 993: if self.port != 993:
reason = "Could not connect via SSL to host '%s' and non-s"\ reason = "Could not connect via SSL to host '%s' and non-s"\
"tandard ssl port %d configured. Make sure you connect"\ "tandard ssl port %d configured. Make sure you connect"\
" to the correct port. Got: %s"% " to the correct port. Got: %s"% (
(self.hostname, self.port, e) self.hostname, self.port, e)
else: else:
reason = "Unknown SSL protocol connecting to host '%s' for "\ reason = "Unknown SSL protocol connecting to host '%s' for "\
"repository '%s'. OpenSSL responded:\n%s"\ "repository '%s'. OpenSSL responded:\n%s"\