Skip to content

Commit

Permalink
make mypy 1.4.0 happy
Browse files Browse the repository at this point in the history
seems like it was released today and produced one new error...

Signed-off-by: Andreas Lauser <andreas.lauser@mbition.io>
Signed-off-by: Gerrit Ecke <gerrit.ecke@mbition.io>
  • Loading branch information
andlaus committed Jun 20, 2023
1 parent 6e9ce25 commit 6de1fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ def __init__(self, *, response_type: str, **kwargs): # "POS-RESPONSE" or "NEG-R
self.response_type = response_type

def encode(self, coded_request: Optional[ByteString] = None, **params) -> ByteString:
logger.info(f"Compose response message to the request {coded_request}")
if coded_request is not None:
logger.info(f"Compose response message to the request {coded_request.hex()}")
# Extract MATCHING-REQUEST-PARAMs from the coded request
for param in self.parameters:
if param.parameter_type == "MATCHING-REQUEST-PARAM":
Expand Down

0 comments on commit 6de1fc4

Please sign in to comment.