Project

General

Profile

« Previous | Next » 

Revision 6407

db_xml.py: put(): put_(): Support setDefault() values which are text nodes, by passing text strings through when put() is run on all col_defaults entries

View differences:

lib/db_xml.py
64 64
    if node == None: return None # when no rows, root.firstChild == None
65 65
    
66 66
    def put_(node):
67
        if util.is_str(node): return node
67 68
        return put(db, node, row_ins_ct_ref, on_error, col_defaults, in_table,
68 69
            parent_ids_loc, next)
69 70
    

Also available in: Unified diff