2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-05 23:53:19 +00:00

Fix code syntax and docs

This commit is contained in:
justin-h-loi
2023-08-29 15:13:53 -04:00
committed by arp102
parent e9a63e2659
commit a664187bc4
2 changed files with 3 additions and 4 deletions

View File

@@ -127,8 +127,8 @@ class KmipSession(threading.Thread):
)
try:
if hasattr(self._connection, 'shared_ciphers') \
and self._connection.shared_ciphers() is not None:
if (hasattr(self._connection, 'shared_ciphers')
and self._connection.shared_ciphers() is not None):
shared_ciphers = self._connection.shared_ciphers()
self._logger.debug(
"Possible session ciphers: {0}".format(len(shared_ciphers))