mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Debugging, but also helpful errors...
This commit is contained in:
parent
c9c81ef015
commit
bf7f9d2cc1
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue