From f7d9e82d3c8b289f027d73ea082d39dfceac92df 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