From 4e79bd0872ca075f5559c48af331ab5d85a6d814 Mon Sep 17 00:00:00 2001 From: Michael DeHaan <michael.dehaan@gmail.com> Date: Thu, 11 Apr 2013 12:55:20 -0400 Subject: [PATCH] Remove unneccessary construction of Jinja2 environment object. --- lib/ansible/utils/template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py index ce23778..6ee619f 100644 --- a/lib/ansible/utils/template.py +++ b/lib/ansible/utils/template.py @@ -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(): -- libgit2 0.26.0