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.
pull/28404/head
Adrian Likins 7 years ago committed by Brian Coca
parent 5e6984a34c
commit 2941e86671

@ -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

Loading…
Cancel
Save