Revision 10115
Added by Aaron Marcuse-Kubitza over 11 years ago
bin/map | ||
---|---|---|
329 | 329 |
in_) |
330 | 330 |
except KeyError: pass |
331 | 331 |
else: |
332 |
cols = [(orig, col_idxs[orig]) for simp, orig in cols]
|
|
333 |
mappings[len(mappings):] = [[db_xml.ColRef(*col), out]
|
|
334 |
for col in cols] # can't use += because that uses =
|
|
332 |
mappings[len(mappings):] = [[db_xml.ColRef(
|
|
333 |
orig, col_idxs[orig]), out] for simp, orig in cols]
|
|
334 |
# can't use += because that uses = |
|
335 | 335 |
|
336 | 336 |
def get_value(in_, row): return row.list[in_.idx] |
337 | 337 |
def wrap_row(row): |
Also available in: Unified diff
bin/map: map_table(): Resolve prefixes: combined db_xml.ColRef() constructor call with creation of args (as tuple) for clarity