]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
sync_qemu_models_i386: Remove forgotten parentheses
authorJiri Denemark <jdenemar@redhat.com>
Thu, 7 May 2026 08:58:44 +0000 (10:58 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 20 May 2026 14:39:43 +0000 (16:39 +0200)
children variable is a list returned by getchildren().

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu_map/sync_qemu_models_i386.py

index 68f162b96402b8d4cf94569427a9cc8bf6d82db1..e144609c8224bf0c3599453992d69c29a28f6985 100755 (executable)
@@ -638,7 +638,7 @@ def update_index(outdir, models):
         group = groups[-1]
         children = group.getchildren()
         if children:
-            last = children()[-1]
+            last = children[-1]
             group_indent = last.tail
             indent = f"{group_indent}  "
             last.tail = indent