diff --git a/otc_metadata/services.py b/otc_metadata/services.py index 95c2492f..5c7111f1 100644 --- a/otc_metadata/services.py +++ b/otc_metadata/services.py @@ -143,7 +143,9 @@ class Services(object): "type": doc["type"], "title": doc["title"] } - type_exists = any(doc_dict["type"] == new_doc["type"] for doc_dict in docs) + type_exists = any( + doc_dict["type"] == new_doc["type"] for doc_dict in docs + ) if not type_exists: docs.append(new_doc)