From 921c7f84af3e8b41f79a7be2ab3e8b6e3c5cceda Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 21 Oct 2024 17:01:48 +1100 Subject: [PATCH] simplify skip_missing --- plugins/tag2distrepo/tag2distrepo.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/tag2distrepo/tag2distrepo.py b/plugins/tag2distrepo/tag2distrepo.py index c394838..484fc72 100644 --- a/plugins/tag2distrepo/tag2distrepo.py +++ b/plugins/tag2distrepo/tag2distrepo.py @@ -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")