[Erp5-report] r35619 nicolas - /erp5/trunk/products/ERP5/Tool/NotificationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 25 16:33:05 CEST 2010


Author: nicolas
Date: Tue May 25 16:33:03 2010
New Revision: 35619

URL: http://svn.erp5.org?rev=35619&view=rev
Log:
Use getStandardFileName to name attachments

Modified:
    erp5/trunk/products/ERP5/Tool/NotificationTool.py

Modified: erp5/trunk/products/ERP5/Tool/NotificationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/NotificationTool.py?rev=35619&r1=35618&r2=35619&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/NotificationTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/NotificationTool.py [utf8] Tue May 25 16:33:03 2010
@@ -93,7 +93,7 @@
 
     attachment_list.append({'mime_type':mime_type,
                             'content':content,
-                            'name':attachment.getReference()}
+                            'name':attachment.getStandardFileName()}
                            )
   return attachment_list
 




More information about the Erp5-report mailing list