use to_nice_yaml for dep lists also

This commit is contained in:
Robert Kaussow 2020-03-08 16:55:08 +01:00
parent 2b4de240be
commit a258240b3f
2 changed files with 2 additions and 6 deletions

View File

@ -6,9 +6,7 @@
{% if meta.dependencies.value is mapping %} {% if meta.dependencies.value is mapping %}
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }} {{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
{% else %} {% else %}
{% for line in meta.dependencies.value %} {{ meta.dependencies.value | to_nice_yaml(indent=0) }}
{{ line }}
{% endfor %}
{% endif %} {% endif %}
{% else %} {% else %}
None. None.

View File

@ -6,9 +6,7 @@
{% if meta.dependencies.value is mapping %} {% if meta.dependencies.value is mapping %}
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }} {{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
{% else %} {% else %}
{% for line in meta.dependencies.value %} {{ meta.dependencies.value | to_nice_yaml(indent=0) }}
{{ line }}
{% endfor %}
{% endif %} {% endif %}
{% else %} {% else %}
None. None.