diff options
Diffstat (limited to 'lib/ansible/utils/module_docs.py')
-rwxr-xr-x | lib/ansible/utils/module_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/module_docs.py b/lib/ansible/utils/module_docs.py index 729b81c713..48f705cd92 100755 --- a/lib/ansible/utils/module_docs.py +++ b/lib/ansible/utils/module_docs.py @@ -104,7 +104,7 @@ def get_docstring(filename, verbose=False): doc['notes'] = [] doc['notes'].extend(notes) - if 'options' not in fragment.keys(): + if 'options' not in fragment: raise Exception("missing options in fragment, possibly misformatted?") for key, value in fragment.items(): |