Fix indentation breakage due to jinja

This commit is contained in:
Pierre-Yves Chibon 2016-07-27 11:12:58 +02:00
parent a83d6d2b66
commit 965a09211a

View file

@ -97,13 +97,13 @@ config = {
# The notification backend uses this to build a fas cache of ircnicks # The notification backend uses this to build a fas cache of ircnicks
# to fas usernames so it can act appropriately on certain message types. # to fas usernames so it can act appropriately on certain message types.
{% if env == 'staging' %} {% if env == 'staging' -%}
"fas_credentials": { "fas_credentials": {
"username": "{{fedoraDummyUser}}", "username": "{{fedoraDummyUser}}",
"password": "{{fedoraDummyUserPassword}}", "password": "{{fedoraDummyUserPassword}}",
"base_url": "https://admin.stg.fedoraproject.org/accounts", "base_url": "https://admin.stg.fedoraproject.org/accounts",
}, },
{% else %} {% else -%}
"fas_credentials": { "fas_credentials": {
"username": "{{fedoraDummyUser}}", "username": "{{fedoraDummyUser}}",
"password": "{{fedoraDummyUserPassword}}", "password": "{{fedoraDummyUserPassword}}",
@ -112,9 +112,9 @@ config = {
## Backend stuff ## ## Backend stuff ##
{% if env == 'staging' %} {% if env == 'staging' -%}
"fmn.backends": ["email", "irc", "android"], "fmn.backends": ["email", "irc", "android"],
{% else %} {% else -%}
"fmn.backends": ["email", "irc"], # android is disabled. "fmn.backends": ["email", "irc"], # android is disabled.
{% endif %} {% endif %}