From 5a79f8e3a0390f97c17ff54186459e30dd6dbb8e Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 16 Aug 2024 09:26:27 -0500 Subject: [PATCH] bodhi: Fix nested quotation In c7fbc26afe9f770414a49d150d9072c1e58b21ec I switched an integer 41 to a string, but didn't notice that it was inside another string as part of the double templating this file does. This results in a template error: jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got 'integer' Other strings inside this bigger string use double instead of single quotes to handle this, so let's take the same approach on this line. Signed-off-by: Carl George --- roles/bodhi2/backend/templates/pungi.rpm.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 index 59377c3d3e..b01cbe1dee 100644 --- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 +++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 @@ -133,7 +133,7 @@ createiso_skip = [ [# In the case of testing, also inject the last stable updates #] "https://kojipkgs{env_suffix}.fedoraproject.org/compose/updates/f[[ release.version ]]-updates/compose/Everything/$basearch/os/", [% endif %] - [% if release.version == '41' %] + [% if release.version == "41" %] [# For F41 the compose location is going to be under /compose/branched/ #] "https://kojipkgs{env_suffix}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version ]]/compose/Everything/$basearch/os/" [% else %]