From 7bcbf9ff5b6a3bf76800bbf9f98ee53220be0d34 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 28 Apr 2024 12:52:29 +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. --- edalize/edatool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edalize/edatool.py b/edalize/edatool.py index 078e3339f..80a71e494 100644 --- a/edalize/edatool.py +++ b/edalize/edatool.py @@ -337,7 +337,7 @@ def parse_args(self, args, paramtypes): ) param_type_map[name.replace("-", "_")] = _paramtype else: - logging.warn( + logging.warning( "Parameter '{}' has unsupported type '{}' for requested backend".format( name, _paramtype )