commit | 051f409d25f84b394c15e82190c897a46cf6c60c | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Sat Jan 07 18:02:26 2023 -0500 |
committer | Tom Rini <trini@konsulko.com> | Sat Jan 07 18:02:26 2023 -0500 |
tree | 6e688298f3ccd26b7fb67149c8d9ce58c3dce434 | |
parent | d1f4b090dd17ee11373859f2c91af94bf254af7a [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 <pali@kernel.org> Fixes: 141659187667 ("pylibfdt: Fix disable version normalization") Signed-off-by: Tom Rini <trini@konsulko.com>