Removed the unnecessary list loop in the nsswitch.conf template
This commit is contained in:
parent
eb12313fec
commit
b818eb706b
@ -9,10 +9,6 @@
|
||||
# `info libc "Name Service Switch"' for information about this file.
|
||||
|
||||
{%- for key, value in nsswitch.config.iteritems() %}
|
||||
{%- if value is list %}
|
||||
{{ key }}: {{ v for v in value }}
|
||||
{%- else %}
|
||||
{{ key }}: {{ value }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user