From c587bf14884af086fbf774cbe122ba06aafbb2de Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 19 Feb 2015 16:45:34 -0500 Subject: [PATCH] fixed absolute_import to be on top as it requries --- lib/ansible/runner/filter_plugins/core.py | 3 ++- lib/ansible/runner/filter_plugins/mathstuff.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/runner/filter_plugins/core.py b/lib/ansible/runner/filter_plugins/core.py index 0bcccdceb8..bdf45509c3 100644 --- a/lib/ansible/runner/filter_plugins/core.py +++ b/lib/ansible/runner/filter_plugins/core.py @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +from __future__ import absolute_import + import sys import base64 import json @@ -34,7 +36,6 @@ 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 c7c108f4e5..c6a49485a4 100644 --- a/lib/ansible/runner/filter_plugins/mathstuff.py +++ b/lib/ansible/runner/filter_plugins/mathstuff.py @@ -15,10 +15,11 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +from __future__ import absolute_import + import math import collections from ansible import errors -from __future__ import absolute_import def unique(a): if isinstance(a,collections.Hashable):