def _ProcessRetryParametersNode(node, cron):
 retry_parameters_node = xml_parser_utils.GetChild(node, 'retry-parameters')
 if (retry_parameters_node is None):
  cron.retry_parameters = None
  return
 retry_parameters = _RetryParameters()
 cron.retry_parameters = retry_parameters
 for tag in _RETRY_PARAMETER_TAGS:
  if (xml_parser_utils.GetChild(retry_parameters_node, tag) is not None):
   setattr(retry_parameters, tag.replace('-', '_'), xml_parser_utils.GetChildNodeText(retry_parameters_node, tag))

def _ProcessRetryParametersNode ( node , cron ) : retry_parameters_node = xml_parser_utils . GetChild ( node , 'retry-parameters' ) if ( retry_parameters_node is None ) : cron . retry_parameters = None return retry_parameters = _RetryParameters ( ) cron . retry_parameters = retry_parameters for tag in _RETRY_PARAMETER_TAGS : if ( xml_parser_utils . GetChild ( retry_parameters_node , tag ) is not None ) : setattr ( retry_parameters , tag . replace ( '-' , '_' ) , xml_parser_utils . GetChildNodeText ( retry_parameters_node , tag ) )
converts <retry-parameters> in node to cron .