Skip to content

Commit

Permalink
fix return, is not
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed May 31, 2024
1 parent 0c286ec commit 958eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptojwt/key_jar.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def get_issuer_keys(self, issuer_id):
@deprecated_alias(issuer="issuer_id", owner="issuer_id")
def __contains__(self, issuer_id):
_iss = self._get_issuer(issuer_id)
return not _iss is None
return _iss is not None

@deprecated_alias(issuer="issuer_id", owner="issuer_id")
def __getitem__(self, issuer_id=""):
Expand Down

0 comments on commit 958eb5b

Please sign in to comment.