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-17 07:26:26 +0100 |
commit | bc43fbb86361a21dc2d5deb910810c5a77fdabe8 (patch) | |
tree | 5393d016bcad9f3722e4a159daeed25f7b56d331 /bin/git-make-shallow | |
parent | 0f35dc4dfc829fe9c51c239d15567f86c5c14e58 (diff) | |
download | bitbake-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/git-make-shallow')
-rwxr-xr-x | bin/git-make-shallow | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/git-make-shallow b/bin/git-make-shallow index 57069f7ed..1d00fbf18 100755 --- a/bin/git-make-shallow +++ b/bin/git-make-shallow @@ -16,6 +16,8 @@ import itertools import os import subprocess import sys +import warnings +warnings.simplefilter("default") version = 1.0 |