Skip to content

Commit

Permalink
remove redundant list wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Dec 21, 2024
1 parent baed659 commit f3cd252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/autoware-interfaces/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def update_type_page(pages):

# Generate data type pages.
for name in specs:
uses = list(sorted(type_uses[name]))
used = list(sorted(type_used[name]))
uses = sorted(type_uses[name])
used = sorted(type_used[name])
data = {"title": name, "uses": uses, "used": used}
data = {k: v for k, v in data.items() if v}
text = "---\n"
Expand Down

0 comments on commit f3cd252

Please sign in to comment.