Fix pep8
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				gl/check check status: success (d21e492e1b07e993937374620453ed9e3f2953e2)
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	gl/check check status: success (d21e492e1b07e993937374620453ed9e3f2953e2)
				
			This commit is contained in:
		@ -2,7 +2,6 @@ import otc_metadata
 | 
				
			|||||||
import argparse
 | 
					import argparse
 | 
				
			||||||
import logging
 | 
					import logging
 | 
				
			||||||
from opensearchpy import OpenSearch
 | 
					from opensearchpy import OpenSearch
 | 
				
			||||||
import json
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
metadata = otc_metadata.Services()
 | 
					metadata = otc_metadata.Services()
 | 
				
			||||||
@ -121,7 +120,6 @@ def create_index(client, index, data):
 | 
				
			|||||||
    return client.index(index=index, body=data)
 | 
					    return client.index(index=index, body=data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
def delete_index(client, index):
 | 
					def delete_index(client, index):
 | 
				
			||||||
    return client.indices.delete(index=index, ignore=[400, 404])
 | 
					    return client.indices.delete(index=index, ignore=[400, 404])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user