fixed flake8 and pylint issue
This commit is contained in:
parent
5b3e9aaa14
commit
0f6c056bb7
|
@ -360,7 +360,7 @@ def check_curses():
|
||||||
# unicode for just the version otherwise we get the repr form which
|
# unicode for just the version otherwise we get the repr form which
|
||||||
# includes the module and class names along with the actual version.
|
# includes the module and class names along with the actual version.
|
||||||
# logger.info('dialog Utility Version %s', unicode(dialog_util_version))
|
# logger.info('dialog Utility Version %s', unicode(dialog_util_version))
|
||||||
logger.info('dialog Utility Version {}'.format(str(dialog_util_version)))
|
logger.info('dialog Utility Version %s', str(dialog_util_version))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,7 @@ class TLSDispatcher(AdvancedDispatcher):
|
||||||
self.handle_close()
|
self.handle_close()
|
||||||
return
|
return
|
||||||
|
|
||||||
def tls_handshake(self): # pylint:disable=too-many-branches
|
def tls_handshake(self): # pylint:disable=too-many-branches
|
||||||
"""Perform TLS handshake and handle its stages"""
|
"""Perform TLS handshake and handle its stages"""
|
||||||
# wait for flush
|
# wait for flush
|
||||||
# self.sslSocket.setblocking(0)
|
# self.sslSocket.setblocking(0)
|
||||||
|
|
Reference in New Issue
Block a user