mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 06:06:04 +00:00
trivial: debian: don't populate dependencies without <control>
clang-format isn't needed to build fwupd, but it is needed for contributors to pass CI.
This commit is contained in:
parent
d6a455e856
commit
e3979f5da6
@ -97,6 +97,8 @@ def parse_dependencies(OS, variant, add_control):
|
|||||||
if add_control:
|
if add_control:
|
||||||
inclusive = []
|
inclusive = []
|
||||||
exclusive = []
|
exclusive = []
|
||||||
|
if not distro.findall("control"):
|
||||||
|
continue
|
||||||
for control_parent in distro.findall("control"):
|
for control_parent in distro.findall("control"):
|
||||||
for obj in control_parent.findall("inclusive"):
|
for obj in control_parent.findall("inclusive"):
|
||||||
inclusive.append(obj.text)
|
inclusive.append(obj.text)
|
||||||
|
Loading…
Reference in New Issue
Block a user