mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-07 15:01:34 +00:00
Wrap long line
This commit is contained in:
parent
1034cd0cb4
commit
d9c00752c0
@ -175,8 +175,9 @@ Content-Type: text/plain; charset=UTF-8
|
|||||||
except smtplib.SMTPConnectError, s:
|
except smtplib.SMTPConnectError, s:
|
||||||
Logger.error('Could not connect to %s:%s: %s (%i)',
|
Logger.error('Could not connect to %s:%s: %s (%i)',
|
||||||
mailserver_host, mailserver_port, s[1], s[0])
|
mailserver_host, mailserver_port, s[1], s[0])
|
||||||
if s[0] == 421:
|
if s.smtp_code == 421:
|
||||||
confirmation_prompt(message="This is a temporary error, press [Enter] to retry. Press [Ctrl-C] to abort now.")
|
confirmation_prompt(message='This is a temporary error, press'
|
||||||
|
'[Enter] to retry. Press [Ctrl-C] to abort now.')
|
||||||
|
|
||||||
if mailserver_user and mailserver_pass:
|
if mailserver_user and mailserver_pass:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user