diff options
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): |
