fix: changed join function sytnax to correct Python method syntax
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
{% if list_type == 'whitelist' %}
|
{% if list_type == 'whitelist' %}
|
||||||
{% if policed_groups is not None and len(policed_groups) > 0 %}
|
{% if policed_groups is not None and len(policed_groups) > 0 %}
|
||||||
AllowGroups {{ policed_groups.join(' ') }}
|
AllowGroups {{ ' '.join(policed_groups) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if policed_users is not None and len(policed_users) > 0 %}
|
{% if policed_users is not None and len(policed_users) > 0 %}
|
||||||
AllowUsers {{ policed_users.join(' ') }}
|
AllowUsers {{ ' '.join(policed_users) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if policed_groups is not None and len(policed_groups) > 0 %}
|
{% if policed_groups is not None and len(policed_groups) > 0 %}
|
||||||
DenyGroups {{ policed_groups.join(' ') }}
|
DenyGroups {{ ' '.join(policed_groups) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if policed_users is not None and len(policed_users) > 0 %}
|
{% if policed_users is not None and len(policed_users) > 0 %}
|
||||||
DenyGroups {{ policed_users.join(' ') }}
|
DenyGroups {{ ' '.join(policed_users) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user