From 321a941e80b53991b5ab4124373eee2aef14c228 Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Fri, 22 Nov 2019 16:50:13 +0100 Subject: [PATCH] fix(crc_patch): Silence a deprecation warning The crc_patch utility displays the following warning: bootloader/./crc_patch.py:31: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats We cannot fix the offending library so disable the warnings to prevent unnecessary build-log clutter. Signed-off-by: Rahix <rahix@rahix.de> --- bootloader/crc_patch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootloader/crc_patch.py b/bootloader/crc_patch.py index 7d93353d..75fe5563 100755 --- a/bootloader/crc_patch.py +++ b/bootloader/crc_patch.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 import sys +import warnings + +warnings.simplefilter("ignore") try: import crc16 -- GitLab