aboutsummaryrefslogtreecommitdiffstats
path: root/bin/git-make-shallow
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/git-make-shallow
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/git-make-shallow')
-rwxr-xr-xbin/git-make-shallow2
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