38f8d43ffc
There weren't that many of them - just fix them. Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
16 lines
267 B
Python
Executable File
16 lines
267 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import csv
|
|
import sys
|
|
|
|
old = {}
|
|
new = {}
|
|
|
|
for row in csv.reader(open(sys.argv[1])):
|
|
old[row[0]] = row
|
|
|
|
writer = csv.writer(open(sys.argv[3], 'w'))
|
|
for row in csv.reader(open(sys.argv[2])):
|
|
if row[0] not in old:
|
|
writer.writerow(row)
|