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 %}
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
{% else %}
{% for line in meta.dependencies.value %}
{{ line }}
{% endfor %}
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
{% endif %}
{% else %}
None.

View File

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