ci: unreferenced: refactor subpackage_installs (MR 3386)
Make it shorter in preparation for adding the same thing for triggers.
This commit is contained in:
parent
e3904d8796
commit
b01974179c
1 changed files with 1 additions and 4 deletions
|
@ -72,10 +72,7 @@ def test_aports_unreferenced_files(args):
|
|||
for subpackage in apkbuild["subpackages"].values():
|
||||
if not subpackage:
|
||||
continue
|
||||
try:
|
||||
subpackage_installs += subpackage["install"]
|
||||
except KeyError:
|
||||
continue
|
||||
subpackage_installs += subpackage.get("install", [])
|
||||
|
||||
# Collect trigger files
|
||||
trigger_sources = []
|
||||
|
|
Loading…
Reference in a new issue