From f3cd25210470932159b162630981c1be337c795b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 22 Dec 2024 00:09:00 +0300 Subject: [PATCH] remove redundant list wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- tools/autoware-interfaces/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/autoware-interfaces/generate.py b/tools/autoware-interfaces/generate.py index 14ad5834008..2e4beaa260e 100755 --- a/tools/autoware-interfaces/generate.py +++ b/tools/autoware-interfaces/generate.py @@ -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"