From 0f6c056bb751371a511d86ef3c6b0a6438e407f5 Mon Sep 17 00:00:00 2001 From: navjot Date: Fri, 17 Apr 2020 19:39:27 +0530 Subject: [PATCH] fixed flake8 and pylint issue --- src/depends.py | 2 +- src/network/tls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/depends.py b/src/depends.py index 01bc3c5f..105244ee 100755 --- a/src/depends.py +++ b/src/depends.py @@ -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 diff --git a/src/network/tls.py b/src/network/tls.py index 1611a1e9..b2f1847d 100644 --- a/src/network/tls.py +++ b/src/network/tls.py @@ -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)