Revision 3580
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/map | ||
---|---|---|
263 | 263 |
nodes, id_node = xpath.put_obj(root, out, '-1', has_types, |
264 | 264 |
'$'+str(in_)) # value is placeholder that documents name |
265 | 265 |
mappings[i] = [in_, nodes] |
266 |
assert id_node != None
|
|
267 |
|
|
266 |
if id_node == None:
|
|
267 |
warnings.warn(UserWarning('Map warning: No mappings')) |
|
268 | 268 |
if debug: # only calc if debug |
269 | 269 |
log_debug('Put template:\n'+str(root)) |
270 | 270 |
|
Also available in: Unified diff
bin/map: map_rows(): out_is_db: Changed `id_node != None` assertion to a warning because this is a normal circumstance in the base case where there are no mappings