mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Merge pull request #2 from hyperair/python3
Make certbot-route53 python3 compatible
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user