From 36f449dc7a517bc6cdb01c97b5635a8934d862a6 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 17 Jan 2019 16:29:44 +0000 Subject: [PATCH] Fix `mapping` list unpacking in `.format()` in `pg_ident` j2 template --- postgres/templates/pg_ident.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/templates/pg_ident.conf.j2 b/postgres/templates/pg_ident.conf.j2 index 1d4696b..cb6fd6f 100644 --- a/postgres/templates/pg_ident.conf.j2 +++ b/postgres/templates/pg_ident.conf.j2 @@ -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 %}