Merge pull request #13467 from bcoca/adhoc_callbk_fix

adhoc does not load plugins by default
This commit is contained in:
James Cammarata 2015-12-08 11:28:20 -05:00
commit 50e5b0f8e9

View file

@ -163,6 +163,9 @@ class AdHocCLI(CLI):
else:
cb = 'minimal'
if not C.DEFAULT_LOAD_CALLBACK_PLUGINS:
C.DEFAULT_CALLBACK_WHITELIST = []
if self.options.tree:
C.DEFAULT_CALLBACK_WHITELIST.append('tree')
C.TREE_DIR = self.options.tree