From: Dmitry Selyutin Date: Tue, 27 Feb 2024 16:22:11 +0000 (+0300) Subject: pysvp64db: fix traversal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=inline;p=openpower-isa.git pysvp64db: fix traversal --- diff --git a/src/openpower/insndb/db.py b/src/openpower/insndb/db.py index 71e3a630..e6a3614a 100644 --- a/src/openpower/insndb/db.py +++ b/src/openpower/insndb/db.py @@ -276,7 +276,7 @@ def main(): def traverse(root, visitor, walker): with visitor(root): - for (node, *_) in walker(root): + for node in walker(root): traverse(root=node, visitor=visitor, walker=walker) traverse(root=root, visitor=visitor, walker=Walker())