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