aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bitbake
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
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')
-rwxr-xr-xbin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index dc1873af6..d3ee8e946 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -12,6 +12,8 @@
import os
import sys
+import warnings
+warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
'lib'))