summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-01-07 18:02:26 -0500
committerTom Rini <[email protected]>2023-01-07 18:02:26 -0500
commit051f409d25f84b394c15e82190c897a46cf6c60c (patch)
tree6e688298f3ccd26b7fb67149c8d9ce58c3dce434 /scripts/const_structs.checkpatch
parentd1f4b090dd17ee11373859f2c91af94bf254af7a (diff)
pylibfdt: Allow version normalization to fail
In some cases, we might not have the sic portion of setuputils available. Make our import and use of this be done in try/except blocks as this is done to suppress a run-time warning that is otherwise non-fatal. Reported-by: Pali Rohár <[email protected]> Fixes: 141659187667 ("pylibfdt: Fix disable version normalization") Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions