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:
parent
586ee923a6
commit
154f58f82d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ import pwd
|
||||||
|
|
||||||
# TODO: refactor this file
|
# TODO: refactor this file
|
||||||
|
|
||||||
FILTER_PLUGINS = {}
|
FILTER_PLUGINS = None
|
||||||
_LISTRE = re.compile(r"(\w+)\[(\d+)\]")
|
_LISTRE = re.compile(r"(\w+)\[(\d+)\]")
|
||||||
JINJA2_OVERRIDE='#jinja2:'
|
JINJA2_OVERRIDE='#jinja2:'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue