Revert "Also report if we're renewing"

This reverts commit 6fa521bc5f.
This commit is contained in:
Peter Eckersley
2017-04-13 20:00:31 -07:00
parent c35ca9775b
commit cb66ba95e1
2 changed files with 6 additions and 13 deletions
+2 -3
View File
@@ -59,9 +59,9 @@ def determine_user_agent(config):
else:
auto = "other"
ua = ("CertbotACMEClient/{0} ({1}; {2}) Authenticator/{3} Installer/{4} "
"({5}; renewing:{6}) Py/{7}")
"({5}) Py/{7}")
ua = ua.format(certbot.__version__, auto, util.get_os_info_ua(),
config.authenticator, config.installer, config.verb, config.renewing,
config.authenticator, config.installer, config.verb,
platform.python_version())
else:
ua = config.user_agent
@@ -76,7 +76,6 @@ def sample_user_agent():
self.installer = "YYY"
self.user_agent = None
self.verb = "SUBCOMMAND"
self.renewing = "YESNOMAYBE"
return determine_user_agent(DummyConfig())