From da7e4a2c06d151813a7c26475f75726727121ea1 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 28 Apr 2024 12:26:56 +0200 Subject: [PATCH] Replace logging.warn usage with logging.warning logging.warn is an alias to logging.warning since Python 3.3 and will be removed in Python 3.13. --- fido2/mds3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fido2/mds3.py b/fido2/mds3.py index bdcc3d8..30c253c 100644 --- a/fido2/mds3.py +++ b/fido2/mds3.py @@ -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(