We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents acc0041 + d40a856 commit dea4ff3Copy full SHA for dea4ff3
1 file changed
src/peakrdl_python/templates/addrmap_field.py.jinja
@@ -94,7 +94,7 @@ class {{get_fully_qualified_type_name(node)}}_cls(Field{%- if 'encode' in node.l
94
return {{get_fully_qualified_enum_type(node.get_property('encode'), top_node.parent, node)}}_enumcls(int_default)
95
else:
96
msg = f'reset value {int_default:d} is not within the enumeration for the class'
97
- self._logger.warn(msg)
+ self._logger.warning(msg)
98
warnings.warn(msg)
99
return None
100
0 commit comments