bitbake: msg: Drop unused local variable

(Bitbake rev: 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-04-20 14:03:36 +01:00
parent 8a3fe33438
commit ebf1e90501

View File

@@ -133,7 +133,6 @@ class LogFilterShowOnce(logging.Filter):
self.seen_errors = set()
def filter(self, record):
msg = record.msg
if record.levelno == bb.msg.BBLogFormatter.WARNONCE:
if record.msg in self.seen_warnings:
return False