new bugs list and filter

This commit is contained in:
gauthiier
2015-07-08 16:44:01 +02:00
parent 6ff788a782
commit a5004449a5
4 changed files with 2035 additions and 1144 deletions
+5 -1
View File
@@ -86,8 +86,12 @@ def run(options):
writer = csv.DictWriter(out_csv, fieldnames=csv_fields)
writer.writeheader()
last_seq = 0
for r in wpt_data:
seq = int(r['Sequence Number'])
if seq < last_seq:
break
last_seq = seq
stats['total'] += 1
host = r['Host']
if any(a in host for a in bugs_data['ads']):
+2 -1
View File
@@ -32,8 +32,9 @@ def run(options):
for f in csv_files:
options.file = f
print "processing - " + f
wptf.run(options)
print "..............."
print ".......done........"
if __name__ == '__main__':