diff options
| author | J08nY | 2017-06-04 03:19:32 +0200 |
|---|---|---|
| committer | J08nY | 2017-06-04 03:19:32 +0200 |
| commit | 2c0adaf6bb8cf5d5e5246ab789d2c0018a1520f5 (patch) | |
| tree | 9f81746170edaf32302f95b565cd355ed5f8b95d /src/pgpmailman/plugin.py | |
| parent | c06af042f8992d8d6abb02a2795b6146c6f32a0e (diff) | |
| download | mailman-pgp-2c0adaf6bb8cf5d5e5246ab789d2c0018a1520f5.tar.gz mailman-pgp-2c0adaf6bb8cf5d5e5246ab789d2c0018a1520f5.tar.zst mailman-pgp-2c0adaf6bb8cf5d5e5246ab789d2c0018a1520f5.zip | |
Diffstat (limited to 'src/pgpmailman/plugin.py')
| -rw-r--r-- | src/pgpmailman/plugin.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pgpmailman/plugin.py b/src/pgpmailman/plugin.py index a9b8dd4..5ae51a0 100644 --- a/src/pgpmailman/plugin.py +++ b/src/pgpmailman/plugin.py @@ -1,3 +1,5 @@ +""" A PGP plugin for GNU Mailman.""" + from mailman.interfaces.plugin import IPlugin from pgpmailman.rest.root import RESTRoot from public import public @@ -8,16 +10,17 @@ from zope.interface import implementer @implementer(IPlugin) class PGPMailman: - name = 'pgpmailman' - def __init__(self): self._rest = RESTRoot() def pre_hook(self): + """See `IPlugin`.""" pass def post_hook(self): + """See `IPlugin`.""" pass def rest_object(self): + """See `IPlugin`.""" return self._rest |
