From 5be0811bdcf707624ab020036ef8834952f7ca20 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Thu, 13 Apr 2017 20:07:03 -0700 Subject: [PATCH] Replace removed "renewing" with potential future substitutes :/ --- certbot/client.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/certbot/client.py b/certbot/client.py index 1c0b71e20..c450d19e7 100644 --- a/certbot/client.py +++ b/certbot/client.py @@ -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