#NEWLINE# def get_object( self ) : #NEWLINE# #INDENT# if ( not hasattr ( volume_id , '_object' ) ) : #NEWLINE# #INDENT# volume_id = self . kwargs [ 'volume_id' ] #NEWLINE# try : #NEWLINE# #INDENT# self . _object = cinder . volume_get ( self . request , volume_id ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# self . _object = None #NEWLINE# exceptions . handle ( self . request , _ ( 'Unable to retrieve volume information.' ) ) #NEWLINE# #UNINDENT# #UNINDENT# return self . _object