mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Issue #935: filter out __init__ module from the list of callbacks
This commit is contained in:
parent
b69d11a8e3
commit
b0a4a9e188
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ from ansible.color import stringc
|
|||
|
||||
dirname = os.path.dirname(__file__)
|
||||
callbacks = utils.import_plugins(os.path.join(dirname, 'callback_plugins'))
|
||||
callbacks = [ c.CallbackModule() for c in callbacks.values() ]
|
||||
callbacks = [ c.CallbackModule() for c in callbacks.values() if c.__name__ != '__init__' ]
|
||||
|
||||
cowsay = None
|
||||
if os.path.exists("/usr/bin/cowsay"):
|
||||
|
|
Loading…
Add table
Reference in a new issue