summaryrefslogtreecommitdiffstats
path: root/callback_plugins
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2017-08-16 20:12:30 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2017-08-16 20:12:30 +0000
commita0edf8b4bc92e6eccd510238397213b2beb4079c (patch)
tree283fa1c700316633d7513136f130c24e71ea4d2f /callback_plugins
parentb28a0e345139372895ef3dfd750fb6c7e7eb7c48 (diff)
downloadansible-a0edf8b4bc92e6eccd510238397213b2beb4079c.tar.gz
ansible-a0edf8b4bc92e6eccd510238397213b2beb4079c.tar.xz
ansible-a0edf8b4bc92e6eccd510238397213b2beb4079c.zip
Turns out that now ansible has a callback.json, but we mean the upper json
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'callback_plugins')
-rw-r--r--callback_plugins/logdetail.py2
-rw-r--r--callback_plugins/logdetail2.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py
index 1edd0abb6..944c9396b 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 <http://www.gnu.org/licenses/>.
+from __future__ import absolute_impor
+
import os
import time
import json
diff --git a/callback_plugins/logdetail2.py b/callback_plugins/logdetail2.py
index d746b8eb2..90f713048 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 <http://www.gnu.org/licenses/>.
+from __future__ import absolute_import
+
import os
import time
import json