Skip to content

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
this is the same patch as Randy Döring's #315 which we unfortunately
cannot merge because Randy cannot sign the CLA.

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Katja Köhler <[email protected]>
  • Loading branch information
andlaus committed Jun 20, 2024
1 parent 763272e commit ad826dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def odxraise(message: Optional[str] = None, error_type: Type[Exception] = OdxErr
else:
raise error_type(message)
elif message is not None:
logger.warn(message)
logger.warning(message)


def odxassert(condition: bool,
Expand Down

0 comments on commit ad826dd

Please sign in to comment.