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

svn path=/plone.app.discussion/trunk/; revision=27776
This commit is contained in:
Timo Stollenwerk 2009-07-02 16:04:02 +00:00
parent 8b60038237
commit 045a926621

View File

@ -167,7 +167,8 @@ class Conversation(Traversable, Persistent, Explicit):
@property @property
def commentators(self): def commentators(self):
return self._commentators.keys() if len(self._commentators.keys()) != 0:
return self._commentators.keys()
def objectIds(self): def objectIds(self):
return self._comments.keys() return self._comments.keys()