Make mypy happy
This commit is contained in:
parent
708c5d6f58
commit
87009c2247
1
check.py
1
check.py
|
@ -36,6 +36,7 @@ class AbsoluteDNSAdapter(HTTPAdapter):
|
||||||
|
|
||||||
# Append a dot to the hostname if it's not already there.
|
# Append a dot to the hostname if it's not already there.
|
||||||
hostname = parsed_url.host
|
hostname = parsed_url.host
|
||||||
|
assert hostname
|
||||||
if not hostname.endswith("."):
|
if not hostname.endswith("."):
|
||||||
hostname += "."
|
hostname += "."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue