Project

General

Profile

« Previous | Next » 

Revision 2015

bin/map: If outputting to a DB, also create output XML elements for NULL input values. This will help with the transition to using the same XML tree for all rows.

View differences:

map
216 216
                    if value == None:
217 217
                        log_debug('Getting '+str(in_))
218 218
                        value = cleanup(get_value(in_, row))
219
                    if value != None:
219
                    if out_is_db or value != None:
220 220
                        log_debug('Putting '+str(out))
221 221
                        xpath.put_obj(root, out, row_id, has_types, value)
222 222
            return process_rows(process_row, rows, **kw_args)

Also available in: Unified diff