Fix pep8
All checks were successful
gl/check check status: success (2ed3bc4bf5be468d27ce963a4cca0d1154d2947b)
All checks were successful
gl/check check status: success (2ed3bc4bf5be468d27ce963a4cca0d1154d2947b)
This commit is contained in:
parent
a3a3c5cd1f
commit
2ed3bc4bf5
@ -143,7 +143,9 @@ class Services(object):
|
|||||||
"type": doc["type"],
|
"type": doc["type"],
|
||||||
"title": doc["title"]
|
"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:
|
if not type_exists:
|
||||||
docs.append(new_doc)
|
docs.append(new_doc)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user