#NEWLINE# def _post_update_target( self ) : #NEWLINE# #INDENT# 'Checks for success or failure if the ArchiveJob on self.dst_node\n        is finished\n        ' #NEWLINE# if ( target . status == ARCHIVER_FAILURE ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not self . pending ) : #NEWLINE# #INDENT# self . done = True #NEWLINE# if any ( [ target . status for target in self . target_addons if ( target . status in ARCHIVER_FAILURE_STATUSES ) ] ) : #NEWLINE# #INDENT# self . status = ARCHIVER_FAILURE #NEWLINE# self . _fail_above ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . status = ARCHIVER_SUCCESS #NEWLINE# #UNINDENT# self . save ( )