#NEWLINE# def rescue( self , context , instance , network_info , image_meta , rescue_password ) : #NEWLINE# #INDENT# image_meta = self . _recreate_image_meta ( context , instance , image_meta ) #NEWLINE# try : #NEWLINE# #INDENT# self . _vmops . rescue_instance ( context , instance , network_info , image_meta , rescue_password ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# with excutils . save_and_reraise_exception ( ) : #NEWLINE# #INDENT# self . _vmops . unrescue_instance ( instance )