adding sort function before the data are generated to yaml
This commit is contained in:
		@ -10,6 +10,7 @@ import otc_metadata.services
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
def main():
 | 
					def main():
 | 
				
			||||||
    data = otc_metadata.services.Services()
 | 
					    data = otc_metadata.services.Services()
 | 
				
			||||||
 | 
					    data._sort_data()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _yaml = YAML()
 | 
					    _yaml = YAML()
 | 
				
			||||||
    _yaml.indent(mapping=2, sequence=4, offset=2)
 | 
					    _yaml.indent(mapping=2, sequence=4, offset=2)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user