mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Address review comments
This commit is contained in:
+3
-4
@@ -1,4 +1,4 @@
|
||||
"""Let's Encrypt command CLI argument processing."""
|
||||
"""Let's Encrypt command line argument & config processing."""
|
||||
# pylint: disable=too-many-lines
|
||||
from __future__ import print_function
|
||||
import argparse
|
||||
@@ -634,10 +634,9 @@ class HelpfulArgumentParser(object):
|
||||
from letsencrypt import main
|
||||
self.VERBS = main.VERBS
|
||||
# List of topics for which additional help can be provided
|
||||
HELP_TOPICS = ["all", "security",
|
||||
"paths", "automation", "testing"] + list(six.iterkeys(self.VERBS))
|
||||
HELP_TOPICS = ["all", "security", "paths", "automation", "testing"] + list(self.VERBS)
|
||||
|
||||
plugin_names = list(six.iterkeys(plugins))
|
||||
plugin_names = list(plugins)
|
||||
self.help_topics = HELP_TOPICS + plugin_names + [None]
|
||||
usage, short_usage = usage_strings(plugins)
|
||||
self.parser = configargparse.ArgParser(
|
||||
|
||||
+6
-5
@@ -2,8 +2,13 @@
|
||||
from __future__ import print_function
|
||||
import atexit
|
||||
import functools
|
||||
import logging.handlers
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
|
||||
import OpenSSL
|
||||
import zope.component
|
||||
|
||||
import letsencrypt
|
||||
@@ -22,15 +27,11 @@ from letsencrypt import log
|
||||
from letsencrypt import reporter
|
||||
from letsencrypt import storage
|
||||
|
||||
from acme import jose
|
||||
from letsencrypt.cli import choose_configurator_plugins, _renewal_conf_files, should_renew
|
||||
from letsencrypt.display import util as display_util, ops as display_ops
|
||||
from letsencrypt.plugins import disco as plugins_disco
|
||||
|
||||
import traceback
|
||||
import logging.handlers
|
||||
import time
|
||||
from acme import jose
|
||||
import OpenSSL
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user