Merge pull request #48628 from terminalmage/testinfra

Fix NameError in testinfra module
This commit is contained in:
Mike Place 2018-07-18 15:34:02 -06:00 committed by GitHub
commit 9874429741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -296,7 +296,7 @@ def _register_functions():
modules_ = [module_ for module_ in modules.modules]
for mod_name in modules_:
mod_name = _to_snake_case(module_)
mod_name = _to_snake_case(mod_name)
mod_func = _copy_function(mod_name, str(mod_name))
mod_func.__doc__ = _build_doc(mod_name)
__all__.append(mod_name)