diff --git a/plugins/tag2distrepo/tag2distrepo_sme.py b/plugins/tag2distrepo/tag2distrepo_sme.py index be54f8b..8e256f6 100644 --- a/plugins/tag2distrepo/tag2distrepo_sme.py +++ b/plugins/tag2distrepo/tag2distrepo_sme.py @@ -14,18 +14,18 @@ import logging def tag2distrepo_sme(cbtype, tag, build, user, force=False): logger = logging.getLogger('koji.plugin.tag2distrepo_sme') - if not tag['extra'].get("tag2distrepo.enabled"): + if not tag['extra'].get("tag2distrepo_sme.enabled"): logger.debug("No tag2distrepo_sme enabled for tag %s" % tag['name']) return if not tag['arches']: raise ValueError("Tag %s has no arches configured but tag2distrepo_sme is enabled" % tag['name']) - keys = tag['extra'].get("tag2distrepo_sme.keys", '').split() - inherit = tag['extra'].get("tag2distrepo_sme.inherit", False) - latest = tag['extra'].get("tag2distrepo_sme.latest", False) - split_debuginfo = tag['extra'].get("tag2distrepo_sme.split_debuginfo", False) - skip_missing = tag['extra'].get("tag2distrepo_sme.skip_missing_signatures", False) - + keys = tag['extra'].get("tag2distrepo.keys", '').split() + 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 = tag['extra'].get("tag2distrepo.skip_missing_signatures", False) + if keys: logger.debug("Ensuring signed RPMs are written out") [rpms, _] = readTaggedRPMS(tag['id'], rpmsigs=True) @@ -34,7 +34,7 @@ def tag2distrepo_sme(cbtype, tag, build, user, force=False): if rpm['sigkey'] == key: write_signed_rpm(rpm['id'], key, False) - if tag['extra'].get("tag2distrepo_sme.allow_missing_signatures"): + if tag['extra'].get("tag2distrepo.allow_missing_signatures"): task_opts = { 'arch': tag['arches'].split(), 'comp': None,