0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-27 23:07:46 +01:00

fix(iteritems): replace with items instead

This commit is contained in:
Imran Iqbal 2019-03-30 22:57:23 +00:00
parent 0f1c9cf081
commit e4185f4add
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -4,7 +4,7 @@
{% from "cron/map.jinja" import cron_settings with context %}
{% if 'tasks' in cron_settings %}
{% for task,task_options in cron_settings.tasks.iteritems() %}
{% for task,task_options in cron_settings.tasks.items() %}
cron.{{ task }}:
cron.{{ task_options.type|default('present') }}: