diff --git a/roles/koji_hub/templates/fedmsg-koji-plugin.py b/roles/koji_hub/templates/fedmsg-koji-plugin.py index 38d2ed55be..b0ce28c4b3 100644 --- a/roles/koji_hub/templates/fedmsg-koji-plugin.py +++ b/roles/koji_hub/templates/fedmsg-koji-plugin.py @@ -169,7 +169,8 @@ def queue_message(cbtype, *args, **kws): # Don't publish these uninformative rpm.sign messages if there's no actual # sigkey present. Koji apparently adds a dummy sig value when rpms are # first imported and there's no need to spam the world about that. - if topic == 'rpm.sign' and body.get('info', {}).get('sigkey') == '': + if topic == 'rpm.sign' and (body.get('info', {}).get('sigkey') == '' or + body.get('sigkey') == ''): return # Last thing to do before publishing: scrub some problematic fields