2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-15 15:53:36 +00:00

Fix source code style to comply with PEP8

This commit is contained in:
Konstantin Trushin
2023-03-27 18:24:34 +04:00
committed by arp102
parent 155c05069f
commit 263cb34662
9 changed files with 54 additions and 40 deletions

View File

@@ -274,7 +274,7 @@ class CryptographyEngine(api.CryptographicEngine):
c = cmac.CMAC(cipher_algorithm(key), backend=default_backend())
c.update(data)
mac_data = c.finalize()
except Exception as e:
except Exception:
raise exceptions.CryptographicFailure(
"An error occurred while computing a CMAC. "
"See the server log for more information."