From 3e0266f612661683823e3ec988c551d9301f0d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Sat, 30 Jan 2016 05:17:55 +0000 Subject: [PATCH] Introspect to see what attributes are available to us --- callback_plugins/fedmsg_callback2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/callback_plugins/fedmsg_callback2.py b/callback_plugins/fedmsg_callback2.py index 9cc7126a5d..e2ba924d7f 100644 --- a/callback_plugins/fedmsg_callback2.py +++ b/callback_plugins/fedmsg_callback2.py @@ -67,10 +67,14 @@ class CallbackModule(CallbackBase): def v2_playbook_on_start(self, playbook): self.playbook = playbook + import q ; q.q(playbook) + import q ; q.q(dir(playbook)) def v2_playbook_on_play_start(self, play): # This gets called once for each play.. but we just issue a message once # for the first one. One per "playbook" + import q ; q.q(play) + import q ; q.q(dir(play)) if self.playbook: # figure out where the playbook FILE is path = os.path.abspath(self.playbook.filename)