Stop checking a list of emails at the first invalid one.

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3778 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2008-05-27 19:43:20 +00:00
parent e6e51dbc6b
commit 2e4d0894fc

View file

@ -140,7 +140,8 @@ class MailtoUrl (urlbase.UrlBase):
return
for name, mail in self.addresses:
self.check_smtp_domain(name, mail)
if not self.valid:
break
def check_smtp_domain (self, name, mail):
"""