mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 11:04:50 +00:00
Add missing docstring.
This commit is contained in:
parent
35bc79dd90
commit
b104482174
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class DnsUrl (urlbase.UrlBase):
|
|||
return False
|
||||
|
||||
def check_connection(self):
|
||||
"""Resolve hostname."""
|
||||
host = self.urlparts[1]
|
||||
addresses = socket.getaddrinfo(host, 80, 0, 0, socket.SOL_TCP)
|
||||
args = {'host': host}
|
||||
|
|
|
|||
Loading…
Reference in a new issue