mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Normalize plugins.common.dest_namespace (fixes #689).
This commit is contained in:
@@ -20,7 +20,7 @@ def option_namespace(name):
|
||||
|
||||
def dest_namespace(name):
|
||||
"""ArgumentParser dest namespace (prefix of all destinations)."""
|
||||
return name + "_"
|
||||
return name.replace("-", "_") + "_"
|
||||
|
||||
private_ips_regex = re.compile( # pylint: disable=invalid-name
|
||||
r"(^127\.0\.0\.1)|(^10\.)|(^172\.1[6-9]\.)|"
|
||||
|
||||
Reference in New Issue
Block a user