fixed flake8 and pylint issue

This commit is contained in:
navjot 2020-04-17 19:39:27 +05:30
parent 5b3e9aaa14
commit 0f6c056bb7
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
2 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ def check_curses():
# unicode for just the version otherwise we get the repr form which
# 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 {}'.format(str(dialog_util_version)))
logger.info('dialog Utility Version %s', str(dialog_util_version))
return True

View File

@ -172,7 +172,7 @@ class TLSDispatcher(AdvancedDispatcher):
self.handle_close()
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"""
# wait for flush
# self.sslSocket.setblocking(0)