Commit 54365c56 authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

using .items() in for

parent 7d77b065
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
{% for dataset in config.dataset %} {% for dataset in config.dataset %}
[{{dataset.name}}] [{{dataset.name}}]
{% for name, val in dataset.properties %} {% for name, val in dataset.properties.items() %}
{{name}} = {{val}} {{name}} = {{val}}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
{% for template in config.template %} {% for template in config.template %}
[template_{{template.name}}] [template_{{template.name}}]
{% for name, val in template.properties %} {% for name, val in template.properties.items() %}
{{name}} = {{val}} {{name}} = {{val}}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
Supports Markdown
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