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:
authorohemorange <ebportnoy@gmail.com>2021-04-28 01:27:21 +0300
committerGitHub <noreply@github.com>2021-04-28 01:27:21 +0300
commitf339d23e54e88e7568251e9436281506b19ac86f (patch)
tree65001b2c959e0eecacc9455eeb144823352bab0b /certbot
parentac3edc2c1d4ca1098a7d6517f12688e378f965b3 (diff)
Remove further references to certbot-auto in the repo (#8814)
* Move version.py to tests/letstest since it's used by test_sdists.sh * Delete unused components of certbot-auto * Remove test_leauto_upgrades.sh and references to it * Remove test_letsencrypt_auto_certonly_standalone.sh and references to it * Remove outstanding references to certbot-auto * Remove references to letsencrypt-auto * find certbot in the correct directory * delete letsencrypt-auto-source line from .isort.cfg since that directory no longer contains any python code * remove (-auto) from certbot(-auto) * delete line from test * Improve style for version.py
Diffstat (limited to 'certbot')
-rw-r--r--certbot/certbot/_internal/cli/__init__.py3
-rw-r--r--certbot/certbot/_internal/client.py2
-rw-r--r--certbot/tests/client_test.py1
3 files changed, 2 insertions, 4 deletions
diff --git a/certbot/certbot/_internal/cli/__init__.py b/certbot/certbot/_internal/cli/__init__.py
index d835d0f13..7d53ad649 100644
--- a/certbot/certbot/_internal/cli/__init__.py
+++ b/certbot/certbot/_internal/cli/__init__.py
@@ -243,8 +243,7 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False):
" to --server " + constants.STAGING_URI)
helpful.add(
"testing", "--debug", action="store_true", default=flag_default("debug"),
- help="Show tracebacks in case of errors, and allow certbot-auto "
- "execution on experimental platforms")
+ help="Show tracebacks in case of errors")
helpful.add(
[None, "certonly", "run"], "--debug-challenges", action="store_true",
default=flag_default("debug_challenges"),
diff --git a/certbot/certbot/_internal/client.py b/certbot/certbot/_internal/client.py
index 0442febda..b5ee73211 100644
--- a/certbot/certbot/_internal/client.py
+++ b/certbot/certbot/_internal/client.py
@@ -58,7 +58,7 @@ def determine_user_agent(config):
ua = ("CertbotACMEClient/{0} ({1}; {2}{8}) Authenticator/{3} Installer/{4} "
"({5}; flags: {6}) Py/{7}")
if os.environ.get("CERTBOT_DOCS") == "1":
- cli_command = "certbot(-auto)"
+ cli_command = "certbot"
os_info = "OS_NAME OS_VERSION"
python_version = "major.minor.patchlevel"
else:
diff --git a/certbot/tests/client_test.py b/certbot/tests/client_test.py
index 2acaa71b1..1d88ea84c 100644
--- a/certbot/tests/client_test.py
+++ b/certbot/tests/client_test.py
@@ -47,7 +47,6 @@ class DetermineUserAgentTest(test_util.ConfigTestCase):
doc_value_check = self.assertNotIn
real_value_check = self.assertIn
- doc_value_check("certbot(-auto)", ua)
doc_value_check("OS_NAME OS_VERSION", ua)
doc_value_check("major.minor.patchlevel", ua)
real_value_check(util.get_os_info_ua(), ua)