def __add_boundary_ext(self, children, req):
    extractors = req.config.get('extract-boundary')
    for (varname, cfg) in iteritems(extractors):
        subj = cfg.get('subject', 'body')
        left = cfg.get('left', TaurusConfigError(('Left boundary is missing for boundary extractor %s' % varname)))
        right = cfg.get('right', TaurusConfigError(('Right boundary is missing for boundary extractor %s' % varname)))
        match_no = cfg.get('match-no', 1)
        defvalue = cfg.get('default', 'NOT_FOUND')
        scope = cfg.get('scope', None)
        from_var = cfg.get('from-variable', None)
        extractor = JMX._get_boundary_extractor(varname, subj, left, right, match_no, defvalue, scope, from_var)
        children.append(extractor)
        children.append(etree.Element('hashTree'))
def __add_boundary_ext(self, children, req):
    extractors = req.config.get('extract-boundary')
    for (varname, cfg) in iteritems(extractors):
        subj = cfg.get('subject', 'body')
        left = cfg.get('left', TaurusConfigError(('Left boundary is missing for boundary extractor %s' % varname)))
        right = cfg.get('right', TaurusConfigError(('Right boundary is missing for boundary extractor %s' % varname)))
        match_no = cfg.get('match-no', 1)
        defvalue = cfg.get('default', 'NOT_FOUND')
        scope = cfg.get('scope', None)
        from_var = cfg.get('from-variable', None)
        extractor = JMX._get_boundary_extractor(varname, subj, left, right, match_no, defvalue, scope, from_var)
        children.append(extractor)
        children.append(etree.Element('hashTree'))