Merge pull request #344 from wazuh/bugfix-296-templates-python3-compatibility
Update templates for Python 3 compatibility
This commit is contained in:
commit
7d98fc5275
@ -502,7 +502,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if localfile.format == 'json' and localfile.labels is defined %}
|
{% if localfile.format == 'json' and localfile.labels is defined %}
|
||||||
{% for key, value in localfile.labels.iteritems() %}
|
{% for key, value in localfile.labels.items() %}
|
||||||
<label key="{{ key }}">{{ value }}</label>
|
<label key="{{ key }}">{{ value }}</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -540,7 +540,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if localfile.format == 'json' and localfile.labels is defined %}
|
{% if localfile.format == 'json' and localfile.labels is defined %}
|
||||||
{% for key, value in localfile.labels.iteritems() %}
|
{% for key, value in localfile.labels.items() %}
|
||||||
<label key="{{ key }}">{{ value }}</label>
|
<label key="{{ key }}">{{ value }}</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -579,7 +579,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if localfile.format == 'json' and localfile.labels is defined %}
|
{% if localfile.format == 'json' and localfile.labels is defined %}
|
||||||
{% for key, value in localfile.labels.iteritems() %}
|
{% for key, value in localfile.labels.items() %}
|
||||||
<label key="{{ key }}">{{ value }}</label>
|
<label key="{{ key }}">{{ value }}</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if localfile.format == 'json' and localfile.labels is defined %}
|
{% if localfile.format == 'json' and localfile.labels is defined %}
|
||||||
{% for key, value in localfile.labels.iteritems() %}
|
{% for key, value in localfile.labels.items() %}
|
||||||
<label key="{{ key }}">{{ value }}</label>
|
<label key="{{ key }}">{{ value }}</label>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user