module and vault fixes (#29663)

* module and vault fixes

- fix module_path cli option and usage, which fixes #29653
- move --output to be in subset of vault cli, no need for all vault enabled cli to use it
- added debug to loader to see directories added
This commit is contained in:
Brian Coca 2017-09-11 21:02:16 -04:00 committed by GitHub
commit 2165bac212
4 changed files with 21 additions and 16 deletions

View file

@ -84,9 +84,9 @@ class TaskQueueManager:
self._start_at_done = False
# make sure any module paths (if specified) are added to the module_loader
if isinstance(options.module_path, list):
if options.module_path:
for path in options.module_path:
if path is not None:
if path:
module_loader.add_directory(path)
# a special flag to help us exit cleanly