Skip to content

Commit fec4902

Browse files
philipandakrystian-hebel
authored andcommitted
test_id_checking_lib.py: fix unhashable error
Co-authored-by: Krystian Hebel <[email protected]>
1 parent 9e5e8fd commit fec4902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/test_ids/test_id_checking_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _parse_ast_node(node):
7575
for name, value in vars.items():
7676
if name == "ENV_ID_OS_FRIENDLY_NAMES":
7777
self.friendly_names = value
78-
else:
78+
elif not isinstance(value, dict):
7979
self.os_ids[name] = value
8080

8181
def get_id_to_friendly_mapping(self):

0 commit comments

Comments
 (0)