From a0edf8b4bc92e6eccd510238397213b2beb4079c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 16 Aug 2017 20:12:30 +0000 Subject: [PATCH] Turns out that now ansible has a callback.json, but we mean the upper json Signed-off-by: Patrick Uiterwijk --- callback_plugins/logdetail.py | 2 ++ callback_plugins/logdetail2.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index 1edd0abb66..944c9396bb 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.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_impor + import os import time import json diff --git a/callback_plugins/logdetail2.py b/callback_plugins/logdetail2.py index d746b8eb2b..90f713048b 100644 --- a/callback_plugins/logdetail2.py +++ b/callback_plugins/logdetail2.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 os import time import json