mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
Replace removed "renewing" with potential future substitutes :/
This commit is contained in:
parent
cb66ba95e1
commit
5be0811bdc
1 changed files with 5 additions and 2 deletions
|
|
@ -58,10 +58,13 @@ def determine_user_agent(config):
|
|||
auto = cli.cli_command
|
||||
else:
|
||||
auto = "other"
|
||||
flags = "dup" if config.duplicate else ""
|
||||
flags += "force" if config.renew_by_default else ""
|
||||
|
||||
ua = ("CertbotACMEClient/{0} ({1}; {2}) Authenticator/{3} Installer/{4} "
|
||||
"({5}) Py/{7}")
|
||||
"({5}; flags: {6}) Py/{7}")
|
||||
ua = ua.format(certbot.__version__, auto, util.get_os_info_ua(),
|
||||
config.authenticator, config.installer, config.verb,
|
||||
config.authenticator, config.installer, config.verb, flags,
|
||||
platform.python_version())
|
||||
else:
|
||||
ua = config.user_agent
|
||||
|
|
|
|||
Loading…
Reference in a new issue