adhoc does not load plugins by default
reimplemented feature from 1.x which kept additional callbacks from poluting adhoc unless specifically asked for through configuration.
This commit is contained in:
parent
cc98528ecb
commit
b07451eef8
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,9 @@ class AdHocCLI(CLI):
|
||||||
else:
|
else:
|
||||||
cb = 'minimal'
|
cb = 'minimal'
|
||||||
|
|
||||||
|
if not C.DEFAULT_LOAD_CALLBACK_PLUGINS:
|
||||||
|
C.DEFAULT_CALLBACK_WHITELIST = []
|
||||||
|
|
||||||
if self.options.tree:
|
if self.options.tree:
|
||||||
C.DEFAULT_CALLBACK_WHITELIST.append('tree')
|
C.DEFAULT_CALLBACK_WHITELIST.append('tree')
|
||||||
C.TREE_DIR = self.options.tree
|
C.TREE_DIR = self.options.tree
|
||||||
|
|
Loading…
Reference in a new issue