From 47fd22f02e298cded907f51ee7c75e75c57495f7 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 3 Jul 2009 05:45:47 +0000 Subject: [PATCH] don't convert commentators to a set before converting it to a tuple, since the values are unique. svn path=/plone.app.discussion/trunk/; revision=27785 --- plone/app/discussion/catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/catalog.py b/plone/app/discussion/catalog.py index 84691c5..20310ea 100644 --- a/plone/app/discussion/catalog.py +++ b/plone/app/discussion/catalog.py @@ -36,7 +36,7 @@ def last_comment_date(object): @indexer(IContentish, IZCatalog) def commentators(object): conversation = IConversation(object) - return tuple(set(conversation.commentators.keys())) + return tuple(conversation.commentators.keys()) # Comment Indexers