#NEWLINE# @ wsgi . extends #NEWLINE# def detail( self , req , resp_obj ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# if soft_authorize ( context ) : #NEWLINE# #INDENT# flavors = list ( resp_obj . obj [ 'flavors' ] ) #NEWLINE# for flavor_rval in flavors : #NEWLINE# #INDENT# db_flavor = req . get_db_flavor ( flavor_rval [ 'id' ] ) #NEWLINE# self . _extend_flavor ( self , db_flavor )