Remove unneccessary construction of Jinja2 environment object.

This commit is contained in:
Michael DeHaan 2013-04-11 12:55:20 -04:00
parent b869551a4c
commit 4e79bd0872

View file

@ -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():