Skip to content

Commit 9f4deaf

Browse files
committed
Append version even when types have slight differences, instead of hiding one
1 parent 553b7b0 commit 9f4deaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/properties_to_json.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ def canonicalize(s):
104104
# both types meaningfully differ
105105
item["versions"] = [version]
106106
json_items.append(item)
107-
elif item["Type"] == existing_item["Type"]:
108-
# both types differ, but it's probably just typesetting. keep the newest one
107+
else:
109108
item["Type"] = existing_item["Type"]
110109
if version not in existing_item["versions"]:
111110
existing_item["versions"].append(version)

0 commit comments

Comments
 (0)