Project

General

Profile

« Previous | Next » 

Revision 5928

bin/map: map_rows(): map_table(): Fixed bug where metadata values were being removed prematurely, by passing them through

View differences:

bin/map
316 316
            mappings_orig = mappings[:] # save a copy
317 317
            mappings[:] = [] # empty existing elements
318 318
            for in_, out in mappings_orig:
319
                if metadata_value(in_) == None:
319
                if is_metadata(in_): mappings.append((in_, out))
320
                else:
320 321
                    try:
321 322
                        cols = get_with_prefix(col_names_map, prefixes_simp,
322 323
                            maps.simplify(in_))

Also available in: Unified diff