diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-05-03 10:56:49 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-05-03 10:56:49 +0300 |
commit | 595230fd8ecc004ff56433b7ec5902e39018ceb6 (patch) | |
tree | 99096b2c6e01269030bb946fff7133cf1ed1e110 /examples | |
parent | 2ffc3c37cba611262cd846c30ede64c642722f96 (diff) |
PluginsEntryPoint.prepare, move pick_* to display_ops
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugins/letsencrypt_example_plugins.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/plugins/letsencrypt_example_plugins.py b/examples/plugins/letsencrypt_example_plugins.py index 11baf35a7..7c6d1311c 100644 --- a/examples/plugins/letsencrypt_example_plugins.py +++ b/examples/plugins/letsencrypt_example_plugins.py @@ -10,18 +10,22 @@ from letsencrypt.client.plugins import common class Authenticator(common.Plugin): + """Example Authenticator.""" zope.interface.implements(interfaces.IAuthenticator) + zope.interface.classProvides(interfaces.IPluginFactory) - description = 'Example Authenticator plugin' + description = "Example Authenticator plugin" # Implement all methods from IAuthenticator, remembering to add # "self" as first argument, e.g. def prepare(self)... class Installer(common.Plugins): + """Example Installer.""" zope.interface.implements(interfaces.IInstaller) + zope.interface.classProvides(interfaces.IPluginFactory) - description = 'Example Installer plugin' + description = "Example Installer plugin" # Implement all methods from IInstaller, remembering to add # "self" as first argument, e.g. def get_all_names(self)... |