#NEWLINE# def get_data( self , request , instance_id ) : #NEWLINE# #INDENT# instance = api . nova . server_get ( request , instance_id ) #NEWLINE# try : #NEWLINE# #INDENT# instance . full_flavor = api . nova . flavor_get ( request , instance . flavor [ 'id' ] ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# exceptions . handle ( request , ( _ ( 'Unable to retrieve flavor information for instance "%s".' ) % instance_id ) , ignore = True ) #NEWLINE# #UNINDENT# error = get_instance_error ( instance ) #NEWLINE# if error : #NEWLINE# #INDENT# messages . error ( request , error ) #NEWLINE# #UNINDENT# return request