Project

General

Profile

« Previous | Next » 

Revision 4301

xml_func.py: simplify(): Use new passthru()

View differences:

lib/xml_func.py
115 115
                value = param_node.firstChild
116 116
                
117 117
                is_agg_func = param.isdigit() or func == '_name'
118
                if is_agg_func: xml_dom.replace(node, value)
118
                if is_agg_func: passthru(node)
119 119
        else: func(node)
120 120
    # Pruning optimizations
121 121
    else: # these should not run on functions because they would remove args

Also available in: Unified diff