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 olofk committed Nov 4, 2024
1 parent dc65687 commit 7bcbf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edalize/edatool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 7bcbf9f

Please sign in to comment.