mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
remove (-auto) from certbot(-auto)
This commit is contained in:
parent
e9ebd14fa0
commit
d118318505
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class DetermineUserAgentTest(test_util.ConfigTestCase):
|
|||
doc_value_check = self.assertNotIn
|
||||
real_value_check = self.assertIn
|
||||
|
||||
doc_value_check("certbot(-auto)", ua)
|
||||
doc_value_check("certbot", 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue