diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-20 14:03:36 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-21 21:00:35 +0100 |
| commit | ebf1e9050137bd2b69ae4cafdd6ffe2b45b6a90d (patch) | |
| tree | 0b94fd3ed128d08e59a3be49e63d2c111ab873b1 /bitbake/lib/bb/msg.py | |
| parent | 8a3fe33438453f52245be9b444398ceb4e6c6ffb (diff) | |
| download | poky-ebf1e9050137bd2b69ae4cafdd6ffe2b45b6a90d.tar.gz | |
bitbake: msg: Drop unused local variable
(Bitbake rev: 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
| -rw-r--r-- | bitbake/lib/bb/msg.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index c95a874beb..93575d89c4 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
| @@ -133,7 +133,6 @@ class LogFilterShowOnce(logging.Filter): | |||
| 133 | self.seen_errors = set() | 133 | self.seen_errors = set() |
| 134 | 134 | ||
| 135 | def filter(self, record): | 135 | def filter(self, record): |
| 136 | msg = record.msg | ||
| 137 | if record.levelno == bb.msg.BBLogFormatter.WARNONCE: | 136 | if record.levelno == bb.msg.BBLogFormatter.WARNONCE: |
| 138 | if record.msg in self.seen_warnings: | 137 | if record.msg in self.seen_warnings: |
| 139 | return False | 138 | return False |
