diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-16 22:22:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-19 11:33:14 +0100 |
commit | 2b399a01b529d176c87532bf6dec4ff45257c1ea (patch) | |
tree | bbb1c66600520eebf0e687147b687c50fb24bbdb /bitbake/bin/git-make-shallow | |
parent | ab55ae5d390ab1c21d53542ac01ba9510f053de6 (diff) | |
download | poky-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/git-make-shallow')
-rwxr-xr-x | bitbake/bin/git-make-shallow | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/git-make-shallow b/bitbake/bin/git-make-shallow index 57069f7edf..1d00fbf183 100755 --- a/bitbake/bin/git-make-shallow +++ b/bitbake/bin/git-make-shallow | |||
@@ -16,6 +16,8 @@ import itertools | |||
16 | import os | 16 | import os |
17 | import subprocess | 17 | import subprocess |
18 | import sys | 18 | import sys |
19 | import warnings | ||
20 | warnings.simplefilter("default") | ||
19 | 21 | ||
20 | version = 1.0 | 22 | version = 1.0 |
21 | 23 | ||