From: Dmitry Selyutin Date: Sat, 3 Jun 2023 09:48:39 +0000 (+0300) Subject: insndb/db: drop redundant method X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7d9e82d3c8b289f027d73ea082d39dfceac92df;p=openpower-isa.git insndb/db: drop redundant method --- 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)