Project

General

Profile

« Previous | Next » 

Revision 831

db_xml.py: Used new sql.py recover functionality

View differences:

lib/db_xml.py
61 61
    store_ids=False, parent_id=None):
62 62
    '''store_ids enables searching the tree for missing fields'''
63 63
    if pkeys == None: pkeys = {}
64
    def pkey(table): return sql.pkey(db, pkeys, table)
64
    def pkey(table): return sql.pkey(db, pkeys, table, True)
65 65
    
66 66
    def put_(node, parent_id=None):
67 67
        return put(db, node, pkeys, row_ct_ref, on_error, store_ids, parent_id)

Also available in: Unified diff