summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-08-11 15:14:20 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-08-11 15:14:20 +0530
commit5a4a1f073aed83c89d7d27389616ceb63ed7cd16 (patch)
tree7b79e3dd919d9db1638ea09d24d014180c4195e4 /hyperkitty/views
parentc94fb616f43ce6821202ccef01ef2836f0c6be91 (diff)
downloadhyperkitty-5a4a1f073aed83c89d7d27389616ceb63ed7cd16.tar.gz
hyperkitty-5a4a1f073aed83c89d7d27389616ceb63ed7cd16.tar.xz
hyperkitty-5a4a1f073aed83c89d7d27389616ceb63ed7cd16.zip
Code cleaning misleading variable name was used
Diffstat (limited to 'hyperkitty/views')
-rw-r--r--hyperkitty/views/list.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py
index a0856a0..dc24ee0 100644
--- a/hyperkitty/views/list.py
+++ b/hyperkitty/views/list.py
@@ -76,16 +76,15 @@ def archives(request, mlist_fqdn, year=None, month=None, day=None):
participants = set()
cnt = 0
- for msg in threads:
+ for thread in threads:
# Statistics on how many participants and threads this month
participants.add(msg.sender)
- msg.participants = STORE.get_thread_participants(list_name,
- msg.thread_id)
- msg.answers = STORE.get_thread_length(list_name,
- msg.thread_id)
- threads[cnt] = msg
+ thread.participants = STORE.get_thread_participants(list_name,
+ thread.thread_id)
+ thread.answers = STORE.get_thread_length(list_name,
+ thread.thread_id)
+ threads[cnt] = thread
cnt = cnt + 1
- #print msg
paginator = Paginator(threads, 10)
pageNo = request.GET.get('page')