hid manual option

This commit is contained in:
Noah Swartz 2015-10-22 16:09:47 -07:00
parent a385086e2e
commit dd1df820ad
3 changed files with 5 additions and 2 deletions

View file

@ -74,7 +74,7 @@ def pick_plugin(config, default, plugins, question, ifaces):
if len(prepared) > 1:
logger.debug("Multiple candidate plugins: %s", prepared)
plugin_ep = choose_plugin(prepared.values()[::-1], question)
plugin_ep = choose_plugin(prepared.values(), question)
if plugin_ep is None:
return None
else:

View file

@ -31,6 +31,7 @@ class Authenticator(common.Plugin):
"""
zope.interface.implements(interfaces.IAuthenticator)
zope.interface.classProvides(interfaces.IPluginFactory)
hidden = True
description = "Manually Edit Your Configuration"

View file

@ -134,6 +134,8 @@ def supported_challenges_validator(data):
class Authenticator(common.Plugin):
"""Standalone Authenticator."""
zope.interface.implements(interfaces.IAuthenticator)
zope.interface.classProvides(interfaces.IPluginFactory)
@ -178,7 +180,7 @@ class Authenticator(common.Plugin):
This authenticator creates its own ephemeral TCP listener on the
necessary port in order to respond to incoming DVSNI and SimpleHTTP
challenges from the certificate authority. Therefore, it does not
rely on any existing server program.""".replace("\n","")
rely on any existing server program.""".replace("\n", "")
def prepare(self): # pylint: disable=missing-docstring
pass