Fix missing spaces in long pg_hba.conf lines

In generated pg_hba.conf, fix missing spaces between arguments if an argument is longer than the column width allotted to that argument in the line.
This commit is contained in:
Marc-Alexandre Chan 2016-10-09 07:29:52 -04:00 committed by GitHub
parent 69154a74f6
commit a04fe4681b

View file

@ -38,5 +38,5 @@ local all postgres peer
{%- endif %}
{%- endif %}
{{ '{0:<8}{1:<16}{2:<16}{3:<24}{4}'.format(*acl) -}}
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) -}}
{% endfor %}