Getting the returns correct.

This commit is contained in:
Jeff Baskin 2016-10-23 20:15:45 -04:00
parent 77ed019bfe
commit 4d65dc5b40

View File

@ -13,9 +13,9 @@
{%- macro config_entries(data, indents) -%} {%- macro config_entries(data, indents) -%}
{%- if data is string or data is number -%} {%- if data is string or data is number -%}
{{- " " }}{{ data }} {{- " " }}{{ data }}{{ '\n' }}
{%- else -%} {%- else -%}
{{- " {" -}} {{- " {\n" -}}
{%- if data is mapping -%} {%- if data is mapping -%}
{%- for entry in data|dictsort -%} {%- for entry in data|dictsort -%}
{{ entry[0]|indent(indents, True) }} {{ entry[0]|indent(indents, True) }}