Minor fix

This commit is contained in:
Dion Moult
2022-10-09 22:26:38 +11:00
parent ab31fd7e48
commit d847f358ba
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -38,6 +38,7 @@ def print_element(declaration, should_print_subtypes=True):
types.remove("NOTDEFINED")
print("{}".format(declaration.name()))
if types:
types = sorted(types)
for line in textwrap.wrap(", ".join(types), width=70):
print("\t\t{}".format(line))
if should_print_subtypes: