mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-29 01:42:45 +00:00
Fiz sortlists.py
This commit is contained in:
@@ -724,6 +724,7 @@ ip-51-89-240.eu,OVH,Web Host
|
||||
ip-87-98-138.eu,OVH,Web Host
|
||||
ip-92-204-129.us,OVH,Web Host
|
||||
ip-92-204-134.us,OVH,Web Host
|
||||
ip-92-204-134.us,OVH,Web Host
|
||||
iphmx.com,Cisco Cloud Email Security (CES),Email Security
|
||||
iphotel.net.br,IPHOTEL Hosped,Web Host
|
||||
iphouse.net,Sandwich,Web Host
|
||||
|
||||
|
@@ -104,7 +104,7 @@ def sort_csv(
|
||||
|
||||
rows.sort(key=sort_key)
|
||||
|
||||
with path.open(filepath, "w", newline="") as outfile:
|
||||
with open(filepath, "w", newline="") as outfile:
|
||||
writer = csv.DictWriter(outfile, fieldnames=fieldnames)
|
||||
writer.writeheader()
|
||||
writer.writerows(rows)
|
||||
|
||||
Reference in New Issue
Block a user