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>
Fri, 5 Jan 2024 20:44:04 +0000 (23:44 +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())