simplify skip_missing

This commit is contained in:
Trevor Batley 2024-10-21 17:01:48 +11:00
parent 87099540c8
commit 921c7f84af

View File

@ -25,9 +25,7 @@ def tag2distrepo(cbtype, tag, build, user, force=False):
inherit = tag['extra'].get("tag2distrepo.inherit", False)
latest = tag['extra'].get("tag2distrepo.latest", False)
split_debuginfo = tag['extra'].get("tag2distrepo.split_debuginfo", False)
skip_missing = False
if tag['extra'].get("tag2distrepo.skip_missing_signatures"):
skip_missing = True
skip_missing = tag['extra'].get("tag2distrepo.skip_missing_signatures", False)
if keys:
logger.debug("Ensuring signed RPMs are written out")