From 2b399a01b529d176c87532bf6dec4ff45257c1ea Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 16 Sep 2021 22:22:31 +0200 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/bin/bitbake-server | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/bin/bitbake-server') diff --git a/bitbake/bin/bitbake-server b/bitbake/bin/bitbake-server index 8e53947361..f53f88b6b0 100755 --- a/bitbake/bin/bitbake-server +++ b/bitbake/bin/bitbake-server @@ -8,6 +8,7 @@ import os import sys import warnings +warnings.simplefilter("default") import logging sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) -- cgit v1.2.3-54-g00ecf