#NEWLINE# def _wait_for_volume_deletion( self , volume_id , cinder , retries = 90 , poll_interval = 3 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# for _ in range ( poll_interval ) : #NEWLINE# #INDENT# cinder . volumes . get ( volume_id ) #NEWLINE# time . sleep ( poll_interval ) #NEWLINE# #UNINDENT# return False #NEWLINE# #UNINDENT# except cinder_exceptions . NotFound : #NEWLINE# #INDENT# return True