Revision 125
Added by Aaron Marcuse-Kubitza about 13 years ago
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
format_for_review: Fixed bug where Comments column would be reformatted in addition to mappings columns