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:
Stoned Elipot 2013-04-09 22:38:24 +02:00
parent 586ee923a6
commit 154f58f82d

View file

@ -31,7 +31,7 @@ import pwd
# TODO: refactor this file
FILTER_PLUGINS = {}
FILTER_PLUGINS = None
_LISTRE = re.compile(r"(\w+)\[(\d+)\]")
JINJA2_OVERRIDE='#jinja2:'