From 143685de1b9b0386a4dc8d404bdf342b45b7c030 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Mon, 9 Mar 2020 11:33:45 -0500 Subject: bitbake: lib/bb/msg: Remove unused filters Now that the filter are described using the python logging structure, these classes are no longer needed. (Bitbake rev: 2cb16e0c61609f3fb8a86530ddedf8ad0e69428e) Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- bitbake/lib/bb/msg.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 8561826a6e..cab079e333 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/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) -- cgit v1.2.3-54-g00ecf