mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fix Jinja2 filter plugins initialization
_get_filter_plugins() checks FILTER_PLUGINS against None hence the latter should be initialized to None.
This commit is contained in:
@@ -31,7 +31,7 @@ import pwd
|
||||
|
||||
# TODO: refactor this file
|
||||
|
||||
FILTER_PLUGINS = {}
|
||||
FILTER_PLUGINS = None
|
||||
_LISTRE = re.compile(r"(\w+)\[(\d+)\]")
|
||||
JINJA2_OVERRIDE='#jinja2:'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user