mirror of
git://git.yoctoproject.org/poky
synced 2026-09-16 22:31:58 +00:00
bitbake: msg: Drop unused local variable
(Bitbake rev: 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8a3fe33438
commit
ebf1e90501
@ -133,7 +133,6 @@ class LogFilterShowOnce(logging.Filter):
|
|||||||
self.seen_errors = set()
|
self.seen_errors = set()
|
||||||
|
|
||||||
def filter(self, record):
|
def filter(self, record):
|
||||||
msg = record.msg
|
|
||||||
if record.levelno == bb.msg.BBLogFormatter.WARNONCE:
|
if record.levelno == bb.msg.BBLogFormatter.WARNONCE:
|
||||||
if record.msg in self.seen_warnings:
|
if record.msg in self.seen_warnings:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user