fix for "TypeError: can't pickle OIBTreeItems objects".
svn path=/plone.app.discussion/trunk/; revision=27776
This commit is contained in:
parent
8b60038237
commit
045a926621
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user