Project

General

Profile

« Previous | Next » 

Revision 125

format_for_review: Fixed bug where Comments column would be reformatted in addition to mappings columns

View differences:

scripts/util/format_for_review
50 50
    reader = csv.reader(sys.stdin)
51 51
    writer = csv.writer(sys.stdout)
52 52
    writer.writerow(reader.next())
53
    for row in reader: writer.writerow(map(cleanup, row))
53
    for row in reader:
54
        for i in xrange(2): row[i] = cleanup(row[i])
55
        writer.writerow(row)
54 56

  
55 57
main()

Also available in: Unified diff