From d2e9e37a39befa3f04abe50329251c469c43ff1b Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Wed, 24 Jun 2026 12:13:33 +0200 Subject: [PATCH] utils/generate-cyclonedx: make urllib.error import explicit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit [1] introduced a code block that references 'urllib.error.URLError'. There is no explicit import of 'urllib.error'. While this is not an issue in practice, ruff complains that the import is not explicit. [1] 17c9deb115 utils/generate-cyclonedx: hint at missing Buildroot host package on a specific error Signed-off-by: Thomas Perale Reviewed-by: Quentin Schulz Signed-off-by: Arnout Vandecappelle (cherry picked from commit f680fe2a61dd90693e245ee0efd433c8d4aa8bab) Signed-off-by: Raphaël Mélotte --- utils/generate-cyclonedx | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/generate-cyclonedx b/utils/generate-cyclonedx index df12ee84c0..45f9682da6 100755 --- a/utils/generate-cyclonedx +++ b/utils/generate-cyclonedx @@ -14,6 +14,7 @@ import json import os from pathlib import Path from typing import Iterator +import urllib.error import urllib.parse import urllib.request import subprocess