Revision 2551
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/db_xml.py | ||
---|---|---|
172 | 172 |
return put_table(db, node, in_table, commit, None, row_ins_ct_ref, |
173 | 173 |
parent_ids_loc=parent_ids_loc, next=next) |
174 | 174 |
|
175 |
is_func = xml_func.is_func(node) |
|
175 | 176 |
out_table = name_of(node) |
176 |
is_func = out_table in put_table_special_funcs |
|
177 | 177 |
|
178 | 178 |
# Divide children into fields and children with fkeys to parent |
179 | 179 |
row = {} |
Also available in: Unified diff
db_xml.py: put_table(): Treat every node name that starts with "_" as a function, not just members of put_table_special_funcs. This ensures that DB function args are always treated as values, not children with fkeys to parent.