diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-10 09:29:55 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:33 +0000 |
commit | 5c50d43cfa7558b293ca5806e1a4bd25eddb0567 (patch) | |
tree | dbe208712392999466453c220cb9ab57944699fb /bitbake | |
parent | 2dd8c01513bde8b30d27faf3a48f07c2e7e95ea7 (diff) | |
download | openembedded-core-5c50d43cfa7558b293ca5806e1a4bd25eddb0567.tar.gz openembedded-core-5c50d43cfa7558b293ca5806e1a4bd25eddb0567.tar.bz2 openembedded-core-5c50d43cfa7558b293ca5806e1a4bd25eddb0567.tar.xz openembedded-core-5c50d43cfa7558b293ca5806e1a4bd25eddb0567.zip |
Ignore python warnings that come from places we don't care about
Only shows warnings that come from bb, oe, or <string>
(Bitbake rev: 57018687f60b222ab220dd904c4bf870780171e9)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/bin/bitbake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 9556fb044..960d8d0bc 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -75,7 +75,11 @@ def _showwarning(message, category, filename, lineno, file=None, line=None): bb.msg.warn(None, s) warnings.showwarning = _showwarning -warnings.simplefilter("ignore", DeprecationWarning) +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>$") #============================================================================# # main |