Fix revocation for "None" installer

This commit is contained in:
James Kasten
2015-01-24 03:00:01 -08:00
parent 4e3f4f8f24
commit 2ff3c8396e
+5 -3
View File
@@ -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()