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
This commit is contained in:
Timo Stollenwerk 2009-07-03 05:45:47 +00:00
parent e86df00273
commit 47fd22f02e

View File

@ -36,7 +36,7 @@ def last_comment_date(object):
@indexer(IContentish, IZCatalog) @indexer(IContentish, IZCatalog)
def commentators(object): def commentators(object):
conversation = IConversation(object) conversation = IConversation(object)
return tuple(set(conversation.commentators.keys())) return tuple(conversation.commentators.keys())
# Comment Indexers # Comment Indexers