mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
This is one of the things that newer versions of `pylint` complains about. * git grep -l super\( | xargs sed -i 's/super([^)]*)/super()/g' * fix spacing
21 lines
714 B
Python
21 lines
714 B
Python
"""Shim around `~certbot_dns_route53._internal.dns_route53` for backwards compatibility."""
|
|
import warnings
|
|
|
|
import zope.interface
|
|
|
|
from certbot import interfaces
|
|
from certbot_dns_route53._internal import dns_route53
|
|
|
|
|
|
@zope.interface.implementer(interfaces.IAuthenticator)
|
|
@zope.interface.provider(interfaces.IPluginFactory)
|
|
class Authenticator(dns_route53.Authenticator):
|
|
"""Shim around `~certbot_dns_route53._internal.dns_route53.Authenticator`
|
|
for backwards compatibility."""
|
|
|
|
hidden = True
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
warnings.warn("The 'authenticator' module was renamed 'dns_route53'",
|
|
DeprecationWarning)
|
|
super().__init__(*args, **kwargs)
|