insndb/db: update walker
authorDmitry Selyutin <ghostmansd@gmail.com>
Fri, 5 Jan 2024 20:39:48 +0000 (23:39 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 9 Jan 2024 14:34:32 +0000 (17:34 +0300)
src/openpower/insndb/db.py

index 71e3a630098ab487b5a50453803b07b680f1e4cb..e6a3614acda6a215ebb66f175928628744f1c991 100644 (file)
@@ -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())