mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-21 16:32:45 -09:00
utils/generate-cyclonedx: make urllib.error import explicit
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]17c9deb115utils/generate-cyclonedx: hint at missing Buildroot host package on a specific error Signed-off-by: Thomas Perale <thomas.perale@mind.be> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be> (cherry picked from commitf680fe2a61) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
db245058c1
commit
d2e9e37a39
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user