mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-22 08:59:08 -07:00
Merge pull request #936 from ludovicc/devel
Issue #935: filter out __init__ module from the list of callbacks
This commit is contained in:
commit
1f1aa90aad
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ from ansible.color import stringc
|
||||||
|
|
||||||
dirname = os.path.dirname(__file__)
|
dirname = os.path.dirname(__file__)
|
||||||
callbacks = utils.import_plugins(os.path.join(dirname, 'callback_plugins'))
|
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
|
cowsay = None
|
||||||
if os.path.exists("/usr/bin/cowsay"):
|
if os.path.exists("/usr/bin/cowsay"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue