forked from infra/otc-metadata
Fix pep8
This commit is contained in:
parent
f1505b01f3
commit
ec7e0f0eab
@ -12,7 +12,6 @@ def main():
|
|||||||
data = otc_metadata.services.Services()
|
data = otc_metadata.services.Services()
|
||||||
data._sort_data()
|
data._sort_data()
|
||||||
|
|
||||||
|
|
||||||
docs = data.docs_html_by_category("internal")
|
docs = data.docs_html_by_category("internal")
|
||||||
|
|
||||||
# Filter out documents with "disable_import": True
|
# Filter out documents with "disable_import": True
|
||||||
@ -21,7 +20,7 @@ def main():
|
|||||||
filtered_docs = []
|
filtered_docs = []
|
||||||
|
|
||||||
for doc in service['docs']:
|
for doc in service['docs']:
|
||||||
# Check if the document does not have 'disable_import' set to True
|
# Check if the document doesnt have 'disable_import' on True
|
||||||
if not doc.get('disable_import'):
|
if not doc.get('disable_import'):
|
||||||
filtered_docs.append(doc)
|
filtered_docs.append(doc)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user