mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
Fix lint line-too-long complaint
This commit is contained in:
@@ -322,7 +322,10 @@ def enforce_domain_sanity(domain):
|
|||||||
# being FQDNs) because hope springs eternal on this point
|
# being FQDNs) because hope springs eternal on this point
|
||||||
try:
|
try:
|
||||||
socket.inet_aton(domain)
|
socket.inet_aton(domain)
|
||||||
raise errors.ConfigurationError("Requested name {0} is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.".format(domain))
|
raise errors.ConfigurationError(
|
||||||
|
"Requested name {0} is an IP address. The Let's Encrypt "
|
||||||
|
"certificate authority will not issue certificates for a "
|
||||||
|
"bare IP address.".format(domain))
|
||||||
except socket.error:
|
except socket.error:
|
||||||
# It wasn't an IP address, so that's good
|
# It wasn't an IP address, so that's good
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user