[bitbake-devel] [PATCH 07/15] bitbake: lib/bb/msg.py: Remove unused filters
Joshua Watt
jpewhacker at gmail.com
Mon Mar 9 16:33:45 UTC 2020
Now that the filter are described using the python logging structure,
these classes are no longer needed.
Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
---
bitbake/lib/bb/msg.py | 16 ----------------
1 file changed, 16 deletions(-)
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)
--
2.17.1
More information about the bitbake-devel
mailing list