fixed flake8 findings

This commit is contained in:
p_magyar
2024-03-19 19:56:23 +01:00
parent 9d3b795c9c
commit 60e6e657e5
5 changed files with 28 additions and 36 deletions

View File

@@ -21,7 +21,7 @@ def parse_xml_list(codes, entries, enums):
# not sure how to parse refCID and refDID
uid = int(el.attrib["uid"], 16)
if not uid in codes:
if uid not in codes:
print("UID", uid, " not known!", file=sys.stderr)
data = codes[uid]