#NEWLINE# def normalize_domains( domains ) : #NEWLINE# #INDENT# ret = [ dict ( id = domain . get ( 'id' ) , name = domain . get ( 'name' ) , description = domain . get ( 'description' ) , enabled = domain . get ( 'enabled' ) ) for domain in domains ] #NEWLINE# return meta . obj_list_to_dict ( ret )