From 9841ba722920d2252d00dadbdc31fbf8e09673f3 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 4 Oct 2010 13:48:54 +0000 Subject: [PATCH] Remove unnecessary decode statement from creator. svn path=/plone.app.discussion/trunk/; revision=40503 --- plone/app/discussion/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index 619b7d1..06fd026 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -124,7 +124,7 @@ class Comment(CatalogAware, WorkflowAware, DynamicType, Traversable, default=u"Anonymous"))) else: creator = self.creator - creator = creator.decode("utf-8") + creator = creator # Fetch the content object (the parent of the comment is the # conversation, the parent of the conversation is the content object).