From 2d5e4c08232e1798b052c9c7d24c06dc46ffb5e8 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 3 Jun 2023 12:48:39 +0300 Subject: [PATCH] insndb/db: drop redundant method --- src/openpower/insndb/db.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/openpower/insndb/db.py b/src/openpower/insndb/db.py index 989bcef7..96d881c5 100644 --- a/src/openpower/insndb/db.py +++ b/src/openpower/insndb/db.py @@ -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) -- 2.30.2