Project

General

Profile

« Previous | Next » 

Revision 1796

union: Call maps.merge_headers() using **dict(prefer=header_num) instead of just prefer=header_num in order to work on Python 2.5.2 (which nimoy is running)

View differences:

bin/union
39 39
    
40 40
    # Pass through map 0, storing which inputs it defines
41 41
    writer = csv.writer(sys.stdout)
42
    writer.writerow(maps.merge_headers(*headers, prefer=header_num))
42
    writer.writerow(maps.merge_headers(*headers, **dict(prefer=header_num)))
43 43
    inputs = set()
44 44
    for row in map_0_reader:
45 45
        if row[0] != '': inputs.add(row[0])

Also available in: Unified diff