aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bitbake-layers
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-09-16 22:22:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-17 07:26:26 +0100
commitbc43fbb86361a21dc2d5deb910810c5a77fdabe8 (patch)
tree5393d016bcad9f3722e4a159daeed25f7b56d331 /bin/bitbake-layers
parent0f35dc4dfc829fe9c51c239d15567f86c5c14e58 (diff)
downloadbitbake-bc43fbb86361a21dc2d5deb910810c5a77fdabe8.tar.gz
bitbake: enable python warnings at the first opportunity
We really do want to see those, as they tend to turn into hard errors eventually, as what happened with collections vs collections.abc in python 3.10. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-layers')
-rwxr-xr-xbin/bitbake-layers2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index ff085d674..449434d46 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -14,6 +14,8 @@ import logging
import os
import sys
import argparse
+import warnings
+warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)