Revision 4199
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xml_func.py | ||
---|---|---|
93 | 93 |
name = param.tagName |
94 | 94 |
value = param.firstChild |
95 | 95 |
|
96 |
is_agg_func = name.isdigit() or func_name = '_name' |
|
96 |
is_agg_func = name.isdigit() or func_name == '_name'
|
|
97 | 97 |
is_if_no_cond = func_name = '_if' # no if condition means False |
98 | 98 |
if is_agg_func or (is_if_no_cond and name == 'else'): |
99 | 99 |
xml_dom.replace(node, value) |
Also available in: Unified diff
xml_func.py: simplify(): Also consider _name() to be an aggregate function