diff --git a/antsibull/data/collection-enum.py b/antsibull/data/collection-enum.py index 8fe2bbb28..fb96d2998 100644 --- a/antsibull/data/collection-enum.py +++ b/antsibull/data/collection-enum.py @@ -139,7 +139,7 @@ def load_role(role_mixin, role_name, collection_name, collection_path): role_name, collection_path, collection_name, argspec, None) try: - # If this fails, the documentation cannot be seralized as JSON + # If this fails, the documentation cannot be serialized as JSON json.dumps(ansible_doc, cls=AnsibleJSONEncoder) # Store result. This is guaranteed to be serializable result['ansible-doc'] = ansible_doc