From e2cf9e96d723373cf6ab1a691f911171013edca7 Mon Sep 17 00:00:00 2001 From: Mike Brannigan Date: Thu, 15 Sep 2016 08:20:24 -0500 Subject: [PATCH] ensure template compatible with python 2 --- postgres/templates/pg_hba.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/templates/pg_hba.conf.j2 b/postgres/templates/pg_hba.conf.j2 index 00fbb7f..06a8af1 100644 --- a/postgres/templates/pg_hba.conf.j2 +++ b/postgres/templates/pg_hba.conf.j2 @@ -38,5 +38,5 @@ local all postgres peer {%- endif %} {%- endif %} -{{ '{:<8}{:<16}{:<16}{:<24}{}'.format(*acl) -}} +{{ '{0:<8}{1:<16}{2:<16}{3:<24}{4}'.format(*acl) -}} {% endfor %}