Project

General

Profile

« Previous | Next » 

Revision 3759

union: Documented that it's multi-safe (supports an input appearing multiple times)

View differences:

bin/union
1 1
#!/usr/bin/env python
2 2
# Combines two map spreadsheets A0->B and A1->C to A->B, with B overwriting C
3
# Multi-safe (supports an input appearing multiple times). Note that if there is
4
# *any* mapping for an input in map_0, all mappings for that input in map_1 will
5
# be excluded.
3 6

  
4 7
import csv
5 8
import os.path

Also available in: Unified diff