diff options
| author | J08nY | 2017-07-21 18:39:21 +0200 |
|---|---|---|
| committer | J08nY | 2017-07-21 18:39:21 +0200 |
| commit | 276c82849f61bd13b0fb2b38a028d58d87e830ed (patch) | |
| tree | 1e5b3a0ae5ee6ef2244cc1794db252f00f3ddf19 /src/mailman_pgp/rest/root.py | |
| parent | 389eb09b8af9d1482cb140e52b53e13d97ce78ae (diff) | |
| download | mailman-pgp-276c82849f61bd13b0fb2b38a028d58d87e830ed.tar.gz mailman-pgp-276c82849f61bd13b0fb2b38a028d58d87e830ed.tar.zst mailman-pgp-276c82849f61bd13b0fb2b38a028d58d87e830ed.zip | |
Diffstat (limited to 'src/mailman_pgp/rest/root.py')
| -rw-r--r-- | src/mailman_pgp/rest/root.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman_pgp/rest/root.py b/src/mailman_pgp/rest/root.py index 374a88d..52ebfbe 100644 --- a/src/mailman_pgp/rest/root.py +++ b/src/mailman_pgp/rest/root.py @@ -28,7 +28,7 @@ from mailman.rest.helpers import child from public import public from mailman_pgp.rest.addresses import AllAddresses, AnAddress -from mailman_pgp.rest.lists import AllEncryptedLists, AnEncryptedList +from mailman_pgp.rest.lists import AllPGPLists, APGPList @public @@ -36,10 +36,10 @@ class RESTRoot: @child() def lists(self, context, segments): if len(segments) == 0: - return AllEncryptedLists(), [] + return AllPGPLists(), [] else: list_identifier = segments.pop(0) - return AnEncryptedList(list_identifier), segments + return APGPList(list_identifier), segments @child() def addresses(self, context, segments): |
