Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2020-02-28 01:43:28 +0300
committerGitHub <noreply@github.com>2020-02-28 01:43:28 +0300
commit6309ded92f03104f2baa9b881db9827f5fe11e4c (patch)
tree6dd375f58df778cb809df3c90acd5068b96439d0
parent5a4f158c550bb1f6068be9d4f707e813b8f6eae0 (diff)
Remove references to deprecated flags in Certbot. (#7509)
Related to https://github.com/certbot/certbot/pull/7482, this removes some references to deprecated options in Certbot. The only references I didn't remove were: * In `certbot/tests/testdata/sample-renewal*` which contains a lot of old values and I think there's even some value in keeping them so we know if we make a change that suddenly causes old renewal configuration files to error. * In the Apache and Nginx plugins and I created https://github.com/certbot/certbot/issues/7508 to resolve that issue.
-rw-r--r--certbot/certbot/_internal/main.py2
-rw-r--r--certbot/certbot/display/ops.py2
-rw-r--r--certbot/tests/cli_test.py2
3 files changed, 2 insertions, 4 deletions
diff --git a/certbot/certbot/_internal/main.py b/certbot/certbot/_internal/main.py
index 8674cd151..4a57dd78d 100644
--- a/certbot/certbot/_internal/main.py
+++ b/certbot/certbot/_internal/main.py
@@ -394,7 +394,7 @@ def _find_domains_or_certname(config, installer, question=None):
:param installer: Installer object
:type installer: interfaces.IInstaller
- :param `str` question: Overriding dialog question to ask the user if asked
+ :param `str` question: Overriding default question to ask the user if asked
to choose from domain names.
:returns: Two-part tuple of domains and certname
diff --git a/certbot/certbot/display/ops.py b/certbot/certbot/display/ops.py
index eab9d251d..f24f6ed99 100644
--- a/certbot/certbot/display/ops.py
+++ b/certbot/certbot/display/ops.py
@@ -107,7 +107,7 @@ def choose_names(installer, question=None):
:param installer: An installer object
:type installer: :class:`certbot.interfaces.IInstaller`
- :param `str` question: Overriding dialog question to ask the user if asked
+ :param `str` question: Overriding default question to ask the user if asked
to choose from domain names.
:returns: List of selected names
diff --git a/certbot/tests/cli_test.py b/certbot/tests/cli_test.py
index be2c8f29e..7d21f8bb8 100644
--- a/certbot/tests/cli_test.py
+++ b/certbot/tests/cli_test.py
@@ -150,7 +150,6 @@ class ParseTest(unittest.TestCase):
self.assertTrue("how a certificate is deployed" in out)
self.assertTrue("--webroot-path" in out)
self.assertTrue("--text" not in out)
- self.assertTrue("--dialog" not in out)
self.assertTrue("%s" not in out)
self.assertTrue("{0}" not in out)
self.assertTrue("--renew-hook" not in out)
@@ -211,7 +210,6 @@ class ParseTest(unittest.TestCase):
self.assertTrue("how a certificate is deployed" in out)
self.assertTrue("--webroot-path" in out)
self.assertTrue("--text" not in out)
- self.assertTrue("--dialog" not in out)
self.assertTrue("%s" not in out)
self.assertTrue("{0}" not in out)