From b193d327b616da2774ce4293aa52539fbd61b6ef Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Mon, 13 Apr 2015 12:17:07 -0400 Subject: [PATCH] Fix re import failure in templates module when running unit tests. --- v2/ansible/template/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/ansible/template/__init__.py b/v2/ansible/template/__init__.py index 0345a750081..4e15e83424c 100644 --- a/v2/ansible/template/__init__.py +++ b/v2/ansible/template/__init__.py @@ -19,6 +19,8 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type +import re + from jinja2 import Environment from jinja2.exceptions import TemplateSyntaxError, UndefinedError from jinja2.utils import concat as j2_concat