From bb7e834f4bbc2fdad47dd8b79676e552473a03f4 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Wed, 16 Oct 2019 16:06:06 +0200 Subject: [PATCH] copr: copr_pagure_events variable may not be defined --- roles/copr/frontend-cloud/templates/copr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/frontend-cloud/templates/copr.conf b/roles/copr/frontend-cloud/templates/copr.conf index c21d04ffd7..f55aaac70b 100644 --- a/roles/copr/frontend-cloud/templates/copr.conf +++ b/roles/copr/frontend-cloud/templates/copr.conf @@ -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',