Skip to content

Commit

Permalink
formating keyid
Browse files Browse the repository at this point in the history
  • Loading branch information
msetina committed Apr 5, 2024
1 parent 4551d7f commit b4956e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkcs11_cryptography_keys/keys/ec.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def public_key(self) -> EllipticCurvePublicKeyPKCS11:
)
else:
raise Exception(
"Public key with id {0} not found".format(self._keyid)
"Public key with id {0!r} not found".format(self._keyid)
)
else:
raise Exception("Session to card missing")
Expand Down
2 changes: 1 addition & 1 deletion pkcs11_cryptography_keys/keys/rsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def public_key(self) -> RSAPublicKeyPKCS11:
)
else:
raise Exception(
"Public key with id {0} not found".format(self._keyid)
"Public key with id {0!r} not found".format(self._keyid)
)

else:
Expand Down

0 comments on commit b4956e6

Please sign in to comment.