mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:24:35 +02:00
Debugging, but also helpful errors...
This commit is contained in:
@@ -317,4 +317,4 @@ def check_domain_sanity(domain):
|
||||
# first and last char is not "-"
|
||||
fqdn = re.compile("^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,63}$")
|
||||
if not fqdn.match(domain):
|
||||
raise errors.ConfigurationError("Requested domain is not a FQDN")
|
||||
raise errors.ConfigurationError("Requested domain {0} is not a FQDN".format(domain))
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
"""Tests for letsencrypt.cli."""
|
||||
import argparse
|
||||
import copy
|
||||
import itertools
|
||||
import os
|
||||
import shutil
|
||||
|
||||
Reference in New Issue
Block a user