From f39c3d8ea5629df2034d8a29566cfefcb0a1e039 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Wed, 12 Feb 2020 14:42:30 -0600 Subject: [PATCH] Fail on duplicates between lists --- verify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/verify.py b/verify.py index 38ddd0d..6d55ad1 100644 --- a/verify.py +++ b/verify.py @@ -86,6 +86,7 @@ def check_for_intersection(filename_a, filename_b): print("The following domains appear in both lists:") for line in sorted(intersection): print("* {}".format(line)) + sys.exit(1) if __name__ == "__main__":