Commit 8c754453 authored by Nicolas Delaby's avatar Nicolas Delaby

Convert TextContent in text

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23355 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9142f085
......@@ -110,11 +110,12 @@ bug_message_list.extend(lines_list)\n
message_count = len(bug_message_list)+1\n
for message in bug_message_list:\n
message_count -= 1\n
content_type, text = message.convert(\'text\')\n
body += """\n
++++++ Message #%s submitted by %s on %s ++++++\n
%s\n
""" % (message_count, bug_message.getSourceTitle(\'\'),\n
message.getStartDate(), message.getTextContent(\'\') )\n
message.getStartDate(), text )\n
\n
recipient_list = bug_message.BugLine_getRecipientValueList()\n
\n
......@@ -180,6 +181,8 @@ portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n
<string>message_count</string>
<string>_getiter_</string>
<string>message</string>
<string>content_type</string>
<string>text</string>
<string>recipient_list</string>
<string>portal</string>
</tuple>
......
341
\ No newline at end of file
342
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment