Fix pep8
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				gl/check check status: success (ec7e0f0eab2d044abf17d589764908f5af7e2e41)
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	gl/check check status: success (ec7e0f0eab2d044abf17d589764908f5af7e2e41)
				
			This commit is contained in:
		@ -12,7 +12,6 @@ def main():
 | 
			
		||||
    data = otc_metadata.services.Services()
 | 
			
		||||
    data._sort_data()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    docs = data.docs_html_by_category("internal")
 | 
			
		||||
 | 
			
		||||
    # Filter out documents with "disable_import": True
 | 
			
		||||
@ -21,7 +20,7 @@ def main():
 | 
			
		||||
            filtered_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'):
 | 
			
		||||
                    filtered_docs.append(doc)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user