Typo fix + remove needless property

svn path=/plone.app.discussion/trunk/; revision=26963
This commit is contained in:
Martin Aspeli 2009-05-16 10:57:49 +00:00
parent 49c6c45453
commit 51b076935e
2 changed files with 2 additions and 7 deletions

View File

@ -26,7 +26,7 @@ class Comment(Explicit, Traversable, RoleManager, Owned):
__parent__ = None
comment_id = None # int
reply_to = None # int
in_reply_to = None # int
title = u""
@ -50,11 +50,6 @@ class Comment(Explicit, Traversable, RoleManager, Owned):
for k, v in kw.items():
setattr(self, k, v)
@property
def in_reply_to(self):
# TODO
return self.reply_to
@property
def __name__(self):
return unicode(self.comment_id)

View File

@ -75,7 +75,7 @@ class IConversation(IIterableMapping, IWriteMapping):
"""
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.
"""