insndb/db: drop redundant method
authorDmitry Selyutin <ghostmansd@gmail.com>
Sat, 3 Jun 2023 09:48:39 +0000 (12:48 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:19 +0000 (19:26 +0000)
src/openpower/insndb/db.py

index 989bcef7926c82386b65fd95b3b2f2afa570e6b5..96d881c57d6d78486b929f0dc5115021ccadad30 100644 (file)
@@ -13,10 +13,6 @@ from openpower.insndb.types import (
 
 def main():
     class ListVisitor(Visitor):
-        @contextlib.contextmanager
-        def db(self, db):
-            yield db
-
         @contextlib.contextmanager
         def record(self, record):
             print(record.name)