Skip to content
Snippets Groups Projects
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: default avatarRahix <rahix@rahix.de>
parent ec11dd11
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
import sys
import warnings
warnings.simplefilter("ignore")
try:
import crc16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment