From 3b3b2189ed804ed311cdff3ba60c642bae663721 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Fri, 5 Jan 2024 23:39:48 +0300 Subject: [PATCH] insndb/db: update walker --- src/openpower/insndb/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.30.2