system-config/tools/atc/diff.py
Monty Taylor 38f8d43ffc Fix pep8 errors in modules dir
There weren't that many of them - just fix them.

Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
2013-11-12 11:30:34 -05:00

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)