fix regression

introduced by 702f7e1f1d
This commit is contained in:
Paul J Stevens 2013-06-04 09:18:40 -04:00
parent 124aeb55d6
commit 1946991928
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class Comment(CatalogAware, WorkflowAware, DynamicType, Traversable,
title = u""
mime_type = "text/plain"
mime_type = None
text = u""
creator = None
@ -113,6 +113,7 @@ class Comment(CatalogAware, WorkflowAware, DynamicType, Traversable,
def __init__(self):
self.creation_date = self.modification_date = datetime.utcnow()
self.mime_type = 'text/plain'
@property
def __name__(self):