Skip to content

Commit

Permalink
Replace iteritems to items
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Jul 27, 2017
1 parent 3713cb2 commit 24c095a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/etc/fail2ban/jail.local.j2
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ action = {{ fail2ban_action }}
{% for service in fail2ban_services %}
[{{ service.name }}]
enabled = {{ service.enabled | default(true) | bool | to_json }}
{% for option, value in service.iteritems() %}
{% for option, value in service.items() %}
{% if option not in ['name', 'enabled'] %}
{{ option }} = {{ value }}
{% endif %}
Expand Down

0 comments on commit 24c095a

Please sign in to comment.