#NEWLINE# def get_context_data( self , **kwargs ) : #NEWLINE# #INDENT# context = super ( ExtraSpecMixin , self ) . get_context_data ( ** self ) #NEWLINE# try : #NEWLINE# #INDENT# context [ 'flavor' ] = api . nova . flavor_get ( self . request , self . kwargs [ 'id' ] ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# exceptions . handle ( self . request , _ ( 'Unable to retrieve flavor data.' ) ) #NEWLINE# #UNINDENT# return context