#NEWLINE# def try_wait_for_status( self , res_id , get_status , wait_status , timeout = 60 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . wait_for_status ( res_id , get_status , wait_status , timeout ) #NEWLINE# #UNINDENT# except exception . TimeoutException as e : #NEWLINE# #INDENT# LOG . warning ( "Resource '%s' has not changed status to '%s'(%s)" , res_id , wait_status , e )