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)