Commit b53d3da9 authored by Bartek Górny's avatar Bartek Górny

set default empty header and body attributes to avoid AttributeError in object creation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12516 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8aa03f34
......@@ -88,6 +88,10 @@ class MailMessage(Event, CMFMailInMessage):
, PropertySheet.MailMessage
)
# default empty attributes
header = '{}'
body = ''
####### TODO: support attachments !!!!
# def __init__(self, *args, **kw):
# XMLObject.__init__(self, *args, **kw)
......
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