Add missing docstring.

This commit is contained in:
Bastian Kleineidam 2013-01-25 21:15:12 +01:00
parent 35bc79dd90
commit b104482174

View file

@ -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}