#NEWLINE# def get_data( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# flavor_id = self . kwargs [ 'id' ] #NEWLINE# extras_list = api . nova . flavor_get_extras ( self . request , flavor_id ) #NEWLINE# extras_list . sort ( key = ( lambda es : ( es . key , ) ) ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# extras_list = [ ] #NEWLINE# exceptions . handle ( self . request , _ ( 'Unable to retrieve extra spec list.' ) ) #NEWLINE# #UNINDENT# return flavor_id