Fixed nits with plugin choice

This commit is contained in:
Noah Swartz
2015-10-21 18:02:26 -07:00
parent df7f208d24
commit a385086e2e
3 changed files with 12 additions and 16 deletions
+6 -10
View File
@@ -134,18 +134,10 @@ def supported_challenges_validator(data):
class Authenticator(common.Plugin):
"""Standalone Authenticator.
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.
"""
zope.interface.implements(interfaces.IAuthenticator)
zope.interface.classProvides(interfaces.IPluginFactory)
description = "Standalone Authenticator"
description = "LE Will Automatically Test Your Domain"
def __init__(self, *args, **kwargs):
super(Authenticator, self).__init__(*args, **kwargs)
@@ -182,7 +174,11 @@ class Authenticator(common.Plugin):
self.conf("supported-challenges").split(","))
def more_info(self): # pylint: disable=missing-docstring
return self.__doc__
return """\
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","")
def prepare(self): # pylint: disable=missing-docstring
pass