Fix plugin_formatter.py -l / MODULES=none make webdocs

Fix the get_module_info check against the limit_to_modules
list so building a subset/none of the module docs works again.
This commit is contained in:
Adrian Likins 2017-08-18 10:35:06 -04:00 committed by Brian Coca
parent 5e6984a34c
commit 2941e86671

View file

@ -179,7 +179,7 @@ def get_module_info(module_dir, limit_to_modules=None, verbose=False):
# If requested, limit module documentation building only to passed-in
# modules.
if limit_to_modules is not None and module.lower() in limit_to_modules:
if limit_to_modules is not None and module.lower() not in limit_to_modules:
continue
deprecated = False