From 99c75f405bb362fc81b1ab96fb0f46510a97f19a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 12 Jun 2015 16:29:45 +0000 Subject: [PATCH] This will always be there. --- filter_plugins/fedmsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter_plugins/fedmsg.py b/filter_plugins/fedmsg.py index c6a02b65f5..791f24ea13 100644 --- a/filter_plugins/fedmsg.py +++ b/filter_plugins/fedmsg.py @@ -14,7 +14,7 @@ def invert_fedmsg_authz_policy(vars): vars[host]['fedmsg_env']]) fqdn = vars[host].get('fedmsg_fqdn', vars[host]['ansible_fqdn']) - for cert in vars[host].get('fedmsg_certs', []): + for cert in vars[host]['fedmsg_certs']: for topic in cert.get('can_send', []): key = prefix + '.' + topic inverted[key] = inverted.get(key, [])