From 965a09211ab65257f6013199890371afc16396a1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 27 Jul 2016 11:12:58 +0200 Subject: [PATCH] Fix indentation breakage due to jinja --- roles/notifs/backend/templates/fmn.consumer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/notifs/backend/templates/fmn.consumer.py b/roles/notifs/backend/templates/fmn.consumer.py index 7d048cf0a6..52c1a092b8 100644 --- a/roles/notifs/backend/templates/fmn.consumer.py +++ b/roles/notifs/backend/templates/fmn.consumer.py @@ -97,13 +97,13 @@ config = { # The notification backend uses this to build a fas cache of ircnicks # to fas usernames so it can act appropriately on certain message types. - {% if env == 'staging' %} + {% if env == 'staging' -%} "fas_credentials": { "username": "{{fedoraDummyUser}}", "password": "{{fedoraDummyUserPassword}}", "base_url": "https://admin.stg.fedoraproject.org/accounts", }, - {% else %} + {% else -%} "fas_credentials": { "username": "{{fedoraDummyUser}}", "password": "{{fedoraDummyUserPassword}}", @@ -112,9 +112,9 @@ config = { ## Backend stuff ## - {% if env == 'staging' %} + {% if env == 'staging' -%} "fmn.backends": ["email", "irc", "android"], - {% else %} + {% else -%} "fmn.backends": ["email", "irc"], # android is disabled. {% endif %}