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 committed Apr 28, 2024
1 parent 23c0592 commit 53b21bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fusesoc/edalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def _build_parser(self, backend_class, edam):
)
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 53b21bc

Please sign in to comment.