#NEWLINE# @ wsgi . extends #NEWLINE# def detail( self , req , resp_obj ) : #NEWLINE# #INDENT# context = req . environ [ 'nova.context' ] #NEWLINE# if soft_authorize ( context ) : #NEWLINE# #INDENT# servers = list ( resp_obj . obj [ 'servers' ] ) #NEWLINE# instance_uuids = [ server [ 'id' ] for server in servers ] #NEWLINE# bdms = objects . BlockDeviceMappingList . bdms_by_instance_uuid ( context , instance_uuids ) #NEWLINE# for server in servers : #NEWLINE# #INDENT# instance_bdms = self . _get_instance_bdms ( bdms , server ) #NEWLINE# self . _extend_server ( context , server , req , instance_bdms )