Skip to content

Commit

Permalink
fix(plc4py): Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
hutcheb committed May 26, 2024
1 parent 9dde144 commit f0f6181
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions plc4py/plc4py/protocols/umas/readwrite/UmasPDUItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,7 @@ def static_parse_context(
builder = UmasPDUWriteVariableResponse.static_parse_builder(
read_buffer, umas_request_function_key, byte_length
)
from plc4py.protocols.umas.readwrite.UmasPDUWriteVariableResponse import (
UmasPDUWriteVariableResponse,
)

if umas_function_key == int(0xFE) and umas_request_function_key == int(0x23):

builder = UmasPDUWriteVariableResponse.static_parse_builder(
read_buffer, umas_request_function_key, byte_length
)
from plc4py.protocols.umas.readwrite.UmasPDUReadUnlocatedVariableResponse import (
UmasPDUReadUnlocatedVariableResponse,
)
Expand Down

0 comments on commit f0f6181

Please sign in to comment.