mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 08:04:44 +00:00
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:
parent
e6e51dbc6b
commit
2e4d0894fc
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue