summaryrefslogtreecommitdiffstats
path: root/bitbake/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-19 11:33:14 +0100
commit2b399a01b529d176c87532bf6dec4ff45257c1ea (patch)
treebbb1c66600520eebf0e687147b687c50fb24bbdb /bitbake/bin/bitbake
parentab55ae5d390ab1c21d53542ac01ba9510f053de6 (diff)
downloadpoky-2b399a01b529d176c87532bf6dec4ff45257c1ea.tar.gz
bitbake: 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. (Bitbake rev: bc43fbb86361a21dc2d5deb910810c5a77fdabe8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index dc1873af69..d3ee8e9464 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -12,6 +12,8 @@
12 12
13import os 13import os
14import sys 14import sys
15import warnings
16warnings.simplefilter("default")
15 17
16sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 18sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
17 'lib')) 19 'lib'))