From e3979f5da6ad19e01a3bd4a1647bc054b89c5d13 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 7 Sep 2022 07:40:41 -0500 Subject: [PATCH] trivial: debian: don't populate dependencies without clang-format isn't needed to build fwupd, but it is needed for contributors to pass CI. --- contrib/ci/fwupd_setup_helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/ci/fwupd_setup_helpers.py b/contrib/ci/fwupd_setup_helpers.py index 71048752f..936589851 100755 --- a/contrib/ci/fwupd_setup_helpers.py +++ b/contrib/ci/fwupd_setup_helpers.py @@ -97,6 +97,8 @@ def parse_dependencies(OS, variant, add_control): if add_control: inclusive = [] exclusive = [] + if not distro.findall("control"): + continue for control_parent in distro.findall("control"): for obj in control_parent.findall("inclusive"): inclusive.append(obj.text)