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:
committed by
arp102
parent
155c05069f
commit
263cb34662
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user