Use zope decorators

This makes it compatible with python3.
This commit is contained in:
Chow Loong Jin 2017-02-27 15:27:32 +08:00
parent 4538766c48
commit 17c4c7f68e

View file

@ -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"