From 2ff3c8396e4de5cab67c2979a074f47a40039ac9 Mon Sep 17 00:00:00 2001 From: James Kasten Date: Sat, 24 Jan 2015 03:00:01 -0800 Subject: [PATCH] Fix revocation for "None" installer --- letsencrypt/scripts/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/letsencrypt/scripts/main.py b/letsencrypt/scripts/main.py index 3c6bec92f..10fff5ae8 100755 --- a/letsencrypt/scripts/main.py +++ b/letsencrypt/scripts/main.py @@ -285,9 +285,11 @@ def revoke(server): try: installer = determine_installer() except errors.LetsEncryptMisconfigurationError: - logging.warning("The web server is currently misconfigured. Some " - "abilities like seeing which certificates are currently" - " installed may not be available at this time.") + zope.component.getUtility(interfaces.IDisplay).generic_notification( + "The web server is currently misconfigured. Some " + "abilities like seeing which certificates are currently" + " installed may not be available at this time.") + installer = None revoc = revoker.Revoker(server, installer) revoc.list_certs_keys()