(node_type: str, v3_name: str, v4_name: str)
| 41 | node.attrib["BTCPP_format"] = "4" |
| 42 | |
| 43 | def convert_no_warn(node_type: str, v3_name: str, v4_name: str): |
| 44 | if node.tag == v3_name: |
| 45 | node.tag = v4_name |
| 46 | elif ( |
| 47 | (node.tag == node_type) |
| 48 | and ("ID" in node.attrib) |
| 49 | and (node.attrib["ID"] == v3_name) |
| 50 | ): |
| 51 | node.attrib["ID"] = v3_name |
| 52 | |
| 53 | original_attrib = copy.copy(node.attrib) |
| 54 | convert_no_warn("Control", "SequenceStar", "SequenceWithMemory") |
no outgoing calls
no test coverage detected