2017-06-06 18:41:04 -04:00
|
|
|
"""Shim around `~certbot_dns_route53.dns_route53` for backwards compatibility."""
|
|
|
|
|
import warnings
|
|
|
|
|
|
2017-06-07 18:16:52 -04:00
|
|
|
import zope.interface
|
|
|
|
|
|
|
|
|
|
from certbot import interfaces
|
2017-06-06 18:41:04 -04:00
|
|
|
from certbot_dns_route53 import dns_route53
|
|
|
|
|
|
|
|
|
|
|
2017-06-07 18:16:52 -04:00
|
|
|
@zope.interface.implementer(interfaces.IAuthenticator)
|
|
|
|
|
@zope.interface.provider(interfaces.IPluginFactory)
|
2017-06-06 18:41:04 -04:00
|
|
|
class Authenticator(dns_route53.Authenticator):
|
|
|
|
|
"""Shim around `~certbot_dns_route53.dns_route53.Authenticator` for backwards compatibility."""
|
2017-06-07 18:16:52 -04:00
|
|
|
|
|
|
|
|
hidden = True
|
|
|
|
|
|
2017-06-06 18:41:04 -04:00
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
|
warnings.warn("The 'authenticator' module was renamed 'dns_route53'",
|
|
|
|
|
DeprecationWarning)
|
|
|
|
|
super(Authenticator, self).__init__(*args, **kwargs)
|