Skip to content

Commit

Permalink
Merge pull request #37 from pngmbh/python3
Browse files Browse the repository at this point in the history
  • Loading branch information
NBZ4live committed May 6, 2020
2 parents 3386bcf + 2dbd6ca commit 343dc84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/pool.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ listen={{ listen }}

{% for directive, value in pools_directives.items() if directive not in ("name", "listen", "listen_host", "listen_port") -%}
{% if value is mapping %}
{% for key, value2 in value.iteritems() %}
{% for key, value2 in value.items() %}
{{ directive }}[{{ key }}] = {{ value2 }}
{% endfor %}
{% else %}
{{ directive }} = {{ value }}
{% endif %}
{%- endfor %}
{%- endfor %}

0 comments on commit 343dc84

Please sign in to comment.