mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-15 15:42:10 +00:00
fix
This commit is contained in:
parent
6ff030847e
commit
b1a36bbb11
@ -127,8 +127,11 @@ class PreSetup(object):
|
|||||||
smtp.quit()
|
smtp.quit()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except (SMTPAuthenticationError, socket.timeout, socket.gaierror, SMTPSenderRefused, SMTPConnectError), e:
|
except Exception, e:
|
||||||
color_print(e, 'red')
|
color_print(e, 'red')
|
||||||
|
skip = raw_input('是否跳过(y/n) [n]? : ')
|
||||||
|
if skip == 'y':
|
||||||
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user