From c92c4e7376b69c351110d3b023a3c6bc2b692b22 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 19 Feb 2015 07:39:45 -0500 Subject: [PATCH] readded absolute_import --- lib/ansible/runner/filter_plugins/core.py | 1 + lib/ansible/runner/filter_plugins/mathstuff.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/ansible/runner/filter_plugins/core.py b/lib/ansible/runner/filter_plugins/core.py index 4507d45a5d6..0bcccdceb8a 100644 --- a/lib/ansible/runner/filter_plugins/core.py +++ b/lib/ansible/runner/filter_plugins/core.py @@ -34,6 +34,7 @@ import uuid import yaml from jinja2.filters import environmentfilter from distutils.version import LooseVersion, StrictVersion +from __future__ import absolute_import from ansible import errors from ansible.utils.hashing import md5s, checksum_s diff --git a/lib/ansible/runner/filter_plugins/mathstuff.py b/lib/ansible/runner/filter_plugins/mathstuff.py index 88109832a0f..c7c108f4e55 100644 --- a/lib/ansible/runner/filter_plugins/mathstuff.py +++ b/lib/ansible/runner/filter_plugins/mathstuff.py @@ -18,6 +18,7 @@ import math import collections from ansible import errors +from __future__ import absolute_import def unique(a): if isinstance(a,collections.Hashable):