Skip to content

Commit

Permalink
Replace logging.warn usage with logging.warning
Browse files Browse the repository at this point in the history
logging.warn is an alias to logging.warning since Python 3.3 and will be
removed in Python 3.13.
  • Loading branch information
jelly authored and dainnilsson committed Aug 8, 2024
1 parent edcb00b commit da7e4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fido2/mds3.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def ca_lookup(self, result, auth_data):

# Figure out which root to use
if not entry.metadata_statement:
logging.warn("Matched entry has no metadata_statement, can't validate!")
logging.warning("Matched entry has no metadata_statement, can't validate!")
return None

issuer = x509.load_der_x509_certificate(
Expand Down

0 comments on commit da7e4a2

Please sign in to comment.