Commit 321a941e authored by Rahix's avatar Rahix
Browse files

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's avatarRahix <rahix@rahix.de>
parent ec11dd11
#!/usr/bin/env python3
import sys
import warnings
warnings.simplefilter("ignore")
try:
import crc16
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment