summaryrefslogtreecommitdiff
path: root/lib/ansible/utils/module_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/utils/module_docs.py')
-rw-r--r--lib/ansible/utils/module_docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/utils/module_docs.py b/lib/ansible/utils/module_docs.py
index ee99af2cb5..632b4a00c2 100644
--- a/lib/ansible/utils/module_docs.py
+++ b/lib/ansible/utils/module_docs.py
@@ -23,7 +23,7 @@ import ast
import yaml
import traceback
-from ansible import utils
+from ansible.plugins import fragment_loader
# modules that are ok that they do not have documentation strings
BLACKLIST_MODULES = [
@@ -66,7 +66,7 @@ def get_docstring(filename, verbose=False):
if fragment_slug != 'doesnotexist':
- fragment_class = utils.plugins.fragment_loader.get(fragment_name)
+ fragment_class = fragment_loader.get(fragment_name)
assert fragment_class is not None
fragment_yaml = getattr(fragment_class, fragment_var, '{}')