This commit is contained in:
Timo Stollenwerk 2013-04-13 22:47:30 +02:00
parent 59b56166f7
commit 1e95e33573
1 changed files with 4 additions and 4 deletions

View File

@ -34,23 +34,23 @@ class IConversation(IIterableMapping):
title=_(u"Total number of public comments on this item"), title=_(u"Total number of public comments on this item"),
min=0, min=0,
readonly=True, readonly=True,
) )
last_comment_date = schema.Date( last_comment_date = schema.Date(
title=_(u"Date of the most recent public comment"), title=_(u"Date of the most recent public comment"),
readonly=True, readonly=True,
) )
commentators = schema.Set( commentators = schema.Set(
title=_(u"The set of unique commentators (usernames)"), title=_(u"The set of unique commentators (usernames)"),
readonly=True, readonly=True,
) )
public_commentators = schema.Set( public_commentators = schema.Set(
title=_(u"The set of unique commentators (usernames) of" title=_(u"The set of unique commentators (usernames) of"
" published_comments"), " published_comments"),
readonly=True, readonly=True,
) )
def addComment(comment): def addComment(comment):
"""Adds a new comment to the list of comments, and returns the """Adds a new comment to the list of comments, and returns the