[Erp5-report] r12516 - /erp5/trunk/products/ERP5/Document/MailMessage.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 2 11:20:11 CET 2007
Author: bartek
Date: Fri Feb 2 11:20:07 2007
New Revision: 12516
URL: http://svn.erp5.org?rev=12516&view=rev
Log:
set default empty header and body attributes to avoid AttributeError in object creation
Modified:
erp5/trunk/products/ERP5/Document/MailMessage.py
Modified: erp5/trunk/products/ERP5/Document/MailMessage.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/MailMessage.py?rev=12516&r1=12515&r2=12516&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/MailMessage.py (original)
+++ erp5/trunk/products/ERP5/Document/MailMessage.py Fri Feb 2 11:20:07 2007
@@ -87,6 +87,10 @@
, PropertySheet.Event
, PropertySheet.MailMessage
)
+
+ # default empty attributes
+ header = '{}'
+ body = ''
####### TODO: support attachments !!!!
# def __init__(self, *args, **kw):
More information about the Erp5-report
mailing list