From 8850d440b003ef86aabebd77e32b20c7d96a5e2f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 23 Apr 2012 19:29:05 +0200 Subject: Integrate gravatar within the thread view on the left column --- views/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/pages.py b/views/pages.py index 415316d..67ade37 100644 --- a/views/pages.py +++ b/views/pages.py @@ -346,13 +346,13 @@ def thread (request, mlist_fqdn, threadid): if len(next_thread) > 30: next_thread = '%s...' % next_thread[:31] - participants = set() + participants = {} cnt = 0 for msg in threads: msg = Bunch(msg) msg.email.Email = msg.email.Email.strip() # Statistics on how many participants and threads this month - participants.add(msg.email.From) + participants[msg.email.From] = Bunch({'Email': msg.email.Email}) cnt = cnt + 1 archives_length = mongo.get_archives_length(list_name) -- cgit