From: Dmitry Selyutin Date: Fri, 5 Jan 2024 20:39:48 +0000 (+0300) Subject: insndb/db: update walker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b3b2189ed804ed311cdff3ba60c642bae663721;p=openpower-isa.git insndb/db: update walker --- 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())