diff options
| author | Jimmy Bergman | 2012-09-24 08:26:50 +0200 |
|---|---|---|
| committer | Jimmy Bergman | 2012-09-24 08:26:50 +0200 |
| commit | a3516893922c74b88f71ce62227adf5a683baa00 (patch) | |
| tree | 838f38fd2a6d571da443a6c0335c17044ff86371 /src/mailman/rest/root.py | |
| parent | 8271738ba287c4688173ff760118996c1590b84f (diff) | |
| parent | 12b9839a5e7f1e9fda477c5e40ed190e08292da7 (diff) | |
| download | mailman-a3516893922c74b88f71ce62227adf5a683baa00.tar.gz mailman-a3516893922c74b88f71ce62227adf5a683baa00.tar.zst mailman-a3516893922c74b88f71ce62227adf5a683baa00.zip | |
Merge with trunk
Diffstat (limited to 'src/mailman/rest/root.py')
| -rw-r--r-- | src/mailman/rest/root.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman/rest/root.py b/src/mailman/rest/root.py index 8c1a31cf2..ea1650e75 100644 --- a/src/mailman/rest/root.py +++ b/src/mailman/rest/root.py @@ -123,8 +123,10 @@ class TopLevel(resource.Resource): if len(segments) == 0: return AllLists() else: - list_name = segments.pop(0) - return AList(list_name), segments + # list-id is preferred, but for backward compatibility, + # fqdn_listname is also accepted. + list_identifier = segments.pop(0) + return AList(list_identifier), segments @resource.child() def members(self, request, segments): |
