Commit 4e79bd08 by Michael DeHaan

Remove unneccessary construction of Jinja2 environment object.

parent b869551a
......@@ -420,7 +420,6 @@ def _get_filter_plugins():
global FILTER_PLUGINS
if FILTER_PLUGINS is not None:
return FILTER_PLUGINS
environment = jinja2.Environment(trim_blocks=True)
FILTER_PLUGINS = {}
from ansible import utils
for filter_plugin in utils.plugins.filter_loader.all():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment