mirror of
				https://github.com/disposable-email-domains/disposable-email-domains.git
				synced 2025-05-29 01:49:27 +08:00 
			
		
		
		
	Fail on duplicates between lists
This commit is contained in:
		
							parent
							
								
									c54a0233e9
								
							
						
					
					
						commit
						f39c3d8ea5
					
				| @ -86,6 +86,7 @@ def check_for_intersection(filename_a, filename_b): | |||||||
|         print("The following domains appear in both lists:") |         print("The following domains appear in both lists:") | ||||||
|         for line in sorted(intersection): |         for line in sorted(intersection): | ||||||
|             print("* {}".format(line)) |             print("* {}".format(line)) | ||||||
|  |         sys.exit(1) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| if __name__ == "__main__": | if __name__ == "__main__": | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user