Skip to content

Commit

Permalink
UDS: avoid endless recursion in deprecated function
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Christian Hackenbeck <[email protected]>
  • Loading branch information
andlaus committed Mar 13, 2024
1 parent 076bbe3 commit 16e26e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/uds.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ def is_response_pending(telegram_payload: bytes, request_sid: Optional[int] = No
# previous versions of odxtools had a typo here. hit happens!
@deprecated(details="use is_response_pending()") # type: ignore[misc]
def is_reponse_pending(telegram_payload: bytes, request_sid: Optional[int] = None) -> bool:
return is_reponse_pending(telegram_payload, request_sid) # type: ignore[no-any-return]
return is_response_pending(telegram_payload, request_sid)

0 comments on commit 16e26e2

Please sign in to comment.