From d512a82737d2586e56f53af6ca90bc3367d9e967 Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Sat, 3 Sep 2022 10:17:18 +0200 Subject: [PATCH] change: sort addresses alphabetically In the past, changes to the entity order in the SDN list have caused changes to the automatically generated list by reordering the already sanctioned addresses. To avoid this, the addresses are now ordered. --- generate-address-list.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generate-address-list.py b/generate-address-list.py index 44c1326..39314c8 100755 --- a/generate-address-list.py +++ b/generate-address-list.py @@ -98,6 +98,8 @@ def main(): # deduplicate addresses addresses = list(dict.fromkeys(addresses).keys()) + # sort addresses + addresses.sort() write_addresses(addresses, asset, output_formats, args.outpath)