diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-16 22:22:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-16 22:15:33 +0100 |
commit | 62d96ea2afbb0cfdb0d1f932dc96643e7bcd7f26 (patch) | |
tree | f452bcba4583add14655df169416cc80c7eecafb | |
parent | 3250bc950c56bd7dd2114df26e5a8e13b04ceac8 (diff) | |
download | bitbake-62d96ea2afbb0cfdb0d1f932dc96643e7bcd7f26.tar.gz |
bitbake: drop old rules for python warnings
These no longer even work, and it's much better to just see all warnings
and fix them as they happen.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | lib/bb/main.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/bb/main.py b/lib/bb/main.py index 06bad495a..639fc1885 100755 --- a/lib/bb/main.py +++ b/lib/bb/main.py @@ -112,13 +112,6 @@ def _showwarning(message, category, filename, lineno, file=None, line=None): warnlog.warning(s) warnings.showwarning = _showwarning -warnings.filterwarnings("ignore") -warnings.filterwarnings("default", module="(<string>$|(oe|bb)\.)") -warnings.filterwarnings("ignore", category=PendingDeprecationWarning) -warnings.filterwarnings("ignore", category=ImportWarning) -warnings.filterwarnings("ignore", category=DeprecationWarning, module="<string>$") -warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers") - def create_bitbake_parser(): parser = optparse.OptionParser( |