From 7a6c7e141a60e79e1fbf210d34d7a00ebf4e31e0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 11 Oct 2024 10:54:10 +1000 Subject: [PATCH] tools/clean_svg: fix leftover call to getchildren() Fixes: 275227634963 ("tools/clean_svg.py: fix to work with Python3") --- tools/clean_svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clean_svg.py b/tools/clean_svg.py index da9e80c2..a5558058 100755 --- a/tools/clean_svg.py +++ b/tools/clean_svg.py @@ -261,7 +261,7 @@ def apply_id_and_class_from_group(group_node): _id = group_node.attrib.get("id") if _id is None: return - for child in group_node.getchildren(): + for child in group_node: if child.tag == "rect" or child.tag == "circle": if button_assigned: continue