Fix json template for listing SWF domains

This commit is contained in:
Jean-Baptiste Barth 2015-09-30 12:50:17 +02:00
parent 2c3b286b6b
commit 3e2c7dec83

View File

@ -83,13 +83,13 @@ class SWFResponse(BaseResponse):
LIST_DOMAINS_TEMPLATE = """{
"domainInfos": [
{% for domain in domains %}
{%- for domain in domains %}
{
"description": "{{ domain.description }}",
"name": "{{ domain.name }}",
"status": "{{ domain.status }}"
}
{% endfor %}
}{% if not loop.last %},{% endif %}
{%- endfor %}
]
}"""