mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Merge pull request #2 from hyperair/python3
Make certbot-route53 python3 compatible
This commit is contained in:
commit
df158a717d
1 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
TTL = 30
|
||||
|
||||
@zope.interface.implementer(interfaces.IAuthenticator)
|
||||
@zope.interface.provider(interfaces.IPluginFactory)
|
||||
class Authenticator(common.Plugin):
|
||||
zope.interface.implements(interfaces.IAuthenticator)
|
||||
zope.interface.classProvides(interfaces.IPluginFactory)
|
||||
|
||||
description = "Route53 Authenticator"
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ class Authenticator(common.Plugin):
|
|||
response, validation = achall.response_and_validation()
|
||||
self._excute_r53_action(r53, achall, zone, validation, 'UPSERT', wait_for_change=True)
|
||||
|
||||
for _ in xrange(TTL*2):
|
||||
for _ in range(TTL*2):
|
||||
if response.simple_verify(
|
||||
achall.chall,
|
||||
achall.domain,
|
||||
|
|
|
|||
Loading…
Reference in a new issue