copr: copr_pagure_events variable may not be defined

This commit is contained in:
Jakub Kadlcik 2019-10-16 16:06:06 +02:00 committed by Pierre-Yves Chibon
parent 98eb4b1c0f
commit bb7e834f4b

View file

@ -108,7 +108,7 @@ WHITELIST_EMAILS = [
{% endif %}
PAGURE_EVENTS = {
{% if copr_pagure_events %}
{% if copr_pagure_events is defined %}
{% for instance, url in copr_pagure_events.items() %}
{% for topic in [
'git.receive',