From 8325661ac60bab516d7da7625d2217a7ef88e723 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Thu, 20 Jun 2019 20:08:44 +0200 Subject: [PATCH] Fix copy/paste error --- django/archives/mailarchives/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/archives/mailarchives/api.py b/django/archives/mailarchives/api.py index 3e55fc1..4afb7f1 100644 --- a/django/archives/mailarchives/api.py +++ b/django/archives/mailarchives/api.py @@ -85,7 +85,7 @@ def latest(request, listname): # up in this month. # XXX: need to deal with the global view, but for now API callers come in directly if list and settings.PUBLIC_ARCHIVES: - resp['xkey'] = ' '.join(['pgam_{0}/{1}/{2}'.format(l.listid, year, month) for year, month in allyearmonths]) + resp['xkey'] = ' '.join(['pgam_{0}/{1}/{2}'.format(list.listid, year, month) for year, month in allyearmonths]) return resp -- 2.39.5