Revision 3652
Added by Aaron Marcuse-Kubitza over 12 years ago
map | ||
---|---|---|
335 | 335 |
|
336 | 336 |
# Strip XML functions not in the DB |
337 | 337 |
def is_rel_func(name): |
338 |
return (name in db_xml.put_table_special_funcs
|
|
338 |
return (name in db_xml.put_special_funcs |
|
339 | 339 |
or sql.function_exists(in_db, sql_gen.Function(name))) |
340 | 340 |
xml_func.process(root, is_rel_func=is_rel_func) |
341 | 341 |
if debug: log_debug('Putting stripped:\n'+str(root)) |
Also available in: Unified diff
db_xml.py: Renamed put_table_special_funcs to put_special_funcs because it is now used by put() as well