diff options
| author | Barry Warsaw | 2016-04-03 00:19:42 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-04-03 00:19:42 -0400 |
| commit | 6921b9926253be8062aac8805f192be54f55dafd (patch) | |
| tree | 58e7f1bf1e2f3ce58e808758543529c66734f03e /src/mailman/rest/root.py | |
| parent | bbf49fb32d55efae759cd1c86287d80358346782 (diff) | |
| download | mailman-6921b9926253be8062aac8805f192be54f55dafd.tar.gz mailman-6921b9926253be8062aac8805f192be54f55dafd.tar.zst mailman-6921b9926253be8062aac8805f192be54f55dafd.zip | |
Diffstat (limited to 'src/mailman/rest/root.py')
| -rw-r--r-- | src/mailman/rest/root.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/root.py b/src/mailman/rest/root.py index c07be5388..289b714dd 100644 --- a/src/mailman/rest/root.py +++ b/src/mailman/rest/root.py @@ -256,7 +256,7 @@ class TopLevel: def templates(self, context, segments): """/<api>/templates/<fqdn_listname>/<template>/[<language>] - Use content negotiation to request language and suffix (content-type). + Use content negotiation to context language and suffix (content-type). """ if len(segments) == 3: fqdn_listname, template, language = segments @@ -268,7 +268,7 @@ class TopLevel: mlist = getUtility(IListManager).get(fqdn_listname) if mlist is None: return NotFound(), [] - # XXX dig out content-type from request. + # XXX dig out content-type from context. content_type = None return TemplateFinder( fqdn_listname, template, language, content_type) |
