Skip to content

Commit

Permalink
Fix mapping list unpacking in .format() in pg_ident j2 template
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Jan 17, 2019
1 parent 0023ac3 commit 36f449d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/templates/pg_ident.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
# MAPNAME SYSTEM-USERNAME PG-USERNAME

{%- for mapping in mappings %}
{{ '{0:<15} {1:<22} {2}'.format(mapping) -}}
{{ '{0:<15} {1:<22} {2}'.format(*mapping) -}}
{% endfor %}

0 comments on commit 36f449d

Please sign in to comment.