diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 23:02:11 +0000 |
commit | 2cb16e0c61609f3fb8a86530ddedf8ad0e69428e (patch) | |
tree | 94558e67a67f07306e552c6cbb30e34e61992d50 /lib/bb/msg.py | |
parent | 8ebe8a7662200fad9b88be8b08376262a61c85c4 (diff) | |
download | bitbake-2cb16e0c61609f3fb8a86530ddedf8ad0e69428e.tar.gz |
lib/bb/msg: Remove unused filters
Now that the filter are described using the python logging structure,
these classes are no longer needed.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/msg.py')
-rw-r--r-- | lib/bb/msg.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py index 8561826a6..cab079e33 100644 --- a/lib/bb/msg.py +++ b/lib/bb/msg.py @@ -119,22 +119,6 @@ class BBLogFilter(object): return True return False -class BBLogFilterStdErr(BBLogFilter): - def filter(self, record): - if not BBLogFilter.filter(self, record): - return False - if record.levelno >= logging.ERROR: - return True - return False - -class BBLogFilterStdOut(BBLogFilter): - def filter(self, record): - if not BBLogFilter.filter(self, record): - return False - if record.levelno < logging.ERROR: - return True - return False - class LogFilterGEQLevel(logging.Filter): def __init__(self, level): self.strlevel = str(level) |