summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-03-09 11:33:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 23:02:11 +0000
commit2cb16e0c61609f3fb8a86530ddedf8ad0e69428e (patch)
tree94558e67a67f07306e552c6cbb30e34e61992d50
parent8ebe8a7662200fad9b88be8b08376262a61c85c4 (diff)
downloadbitbake-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>
-rw-r--r--lib/bb/msg.py16
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)