Typo fix + remove needless property
svn path=/plone.app.discussion/trunk/; revision=26963
This commit is contained in:
parent
49c6c45453
commit
51b076935e
@ -26,7 +26,7 @@ class Comment(Explicit, Traversable, RoleManager, Owned):
|
|||||||
__parent__ = None
|
__parent__ = None
|
||||||
|
|
||||||
comment_id = None # int
|
comment_id = None # int
|
||||||
reply_to = None # int
|
in_reply_to = None # int
|
||||||
|
|
||||||
title = u""
|
title = u""
|
||||||
|
|
||||||
@ -50,11 +50,6 @@ class Comment(Explicit, Traversable, RoleManager, Owned):
|
|||||||
for k, v in kw.items():
|
for k, v in kw.items():
|
||||||
setattr(self, k, v)
|
setattr(self, k, v)
|
||||||
|
|
||||||
@property
|
|
||||||
def in_reply_to(self):
|
|
||||||
# TODO
|
|
||||||
return self.reply_to
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def __name__(self):
|
def __name__(self):
|
||||||
return unicode(self.comment_id)
|
return unicode(self.comment_id)
|
||||||
|
@ -75,7 +75,7 @@ class IConversation(IIterableMapping, IWriteMapping):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def addComment(comment):
|
def addComment(comment):
|
||||||
"""Adds a new comment to the list of comments, amd returns the
|
"""Adds a new comment to the list of comments, and returns the
|
||||||
comment id that was assigned.
|
comment id that was assigned.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user