diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2015-12-13 19:06:32 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2015-12-13 19:06:32 +0000 |
| commit | 449cc434462ce27a37693b2cd8932b38f708cf95 (patch) | |
| tree | 228bbfb7b63e70c12feb452d5f88bae211a125cf /callback_plugins | |
| parent | b30c2d77f27e0710e8c2a89d54e8ea55ede085dc (diff) | |
| download | ansible-449cc434462ce27a37693b2cd8932b38f708cf95.tar.gz ansible-449cc434462ce27a37693b2cd8932b38f708cf95.tar.xz ansible-449cc434462ce27a37693b2cd8932b38f708cf95.zip | |
Try adding this to get 2.0 compatibility.
Diffstat (limited to 'callback_plugins')
| -rw-r--r-- | callback_plugins/fedmsg_callback.py | 1 | ||||
| -rw-r--r-- | callback_plugins/logdetail.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/callback_plugins/fedmsg_callback.py b/callback_plugins/fedmsg_callback.py index 5dd550908..3299cc4a9 100644 --- a/callback_plugins/fedmsg_callback.py +++ b/callback_plugins/fedmsg_callback.py @@ -22,6 +22,7 @@ import pwd import fedmsg import fedmsg.config +from ansible.plugins.callback import CallbackBase def getlogin(): try: diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index fc328a048..f148d94a7 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.py @@ -20,6 +20,7 @@ import time import json import pwd from ansible import utils +from ansible.plugins.callback import CallbackBase TIME_FORMAT="%b %d %Y %H:%M:%S" |
