#NEWLINE# def _to_backup_job( self , element , target , client_id ) : #NEWLINE# #INDENT# running_job = element . find ( fixxpath ( 'runningJob' , BACKUP_NS ) ) #NEWLINE# if ( running_job is not None ) : #NEWLINE# #INDENT# return BackupTargetJob ( id = running_job . get ( 'id' ) , status = running_job . get ( 'status' ) , progress = int ( running_job . get ( 'percentageComplete' ) ) , driver = self . connection . driver , target = target , extra = { #NEWLINE# #INDENT# 'clientId' : client_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return None