summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index 60c7da3ec7..eb15779fac 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -116,7 +116,7 @@ def _showwarning(message, category, filename, lineno, file=None, line=None):
116 _warnings_showwarning(message, category, filename, lineno, file, line) 116 _warnings_showwarning(message, category, filename, lineno, file, line)
117 else: 117 else:
118 s = warnings.formatwarning(message, category, filename, lineno) 118 s = warnings.formatwarning(message, category, filename, lineno)
119 warnlog.warn(s) 119 warnlog.warning(s)
120 120
121warnings.showwarning = _showwarning 121warnings.showwarning = _showwarning
122warnings.filterwarnings("ignore") 122warnings.filterwarnings("ignore")