Commit 12936481 by Kevin Falcone Committed by GitHub

Merge pull request #3116 from smaeda-ks/s.maeda/fix-jinja2-syntax

Fix jinja2 syntax for remove unnecessary white spaces or line breaks …
parents 869b26b7 aad009ae
{% do cms_env_config.update(EDXAPP_ENV_EXTRA) %}
{% for key, value in cms_env_config.iteritems() %}
{% if value == 'None' %}
{% for key, value in cms_env_config.iteritems() -%}
{% if value == 'None' -%}
{% do cms_env_config.update({key: None }) %}
{% endif %}
{% endfor %}
{%- endif %}
{%- endfor %}
{{ cms_env_config | to_nice_json }}
{% do lms_env_config.update(EDXAPP_ENV_EXTRA) %}
{% for key, value in lms_env_config.iteritems() %}
{% if value == 'None' %}
{% for key, value in lms_env_config.iteritems() -%}
{% if value == 'None' -%}
{% do lms_env_config.update({key: None }) %}
{% endif %}
{% endfor %}
{%- endif %}
{%- endfor %}
{{ lms_env_config | to_nice_json }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment