fix for "TypeError: can't pickle OIBTreeItems objects".

svn path=/plone.app.discussion/trunk/; revision=27778
This commit is contained in:
Timo Stollenwerk
2009-07-02 17:50:20 +00:00
parent d7bbee3a99
commit 41010fb32a
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ def last_comment_date(object):
@indexer(IContentish, IZCatalog)
def commentators(object):
conversation = IConversation(object)
return conversation.commentators
return tuple(set(conversation.commentators.keys()))
# Comment Indexers