[Erp5-report] r38981 nicolas - /erp5/trunk/products/ERP5OOo/transforms/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 7 18:07:45 CEST 2010


Author: nicolas
Date: Thu Oct  7 18:07:45 2010
New Revision: 38981

URL: http://svn.erp5.org?rev=38981&view=rev
Log:
name is callable

Modified:
    erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py

Modified: erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py?rev=38981&r1=38980&r2=38981&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py [utf8] Thu Oct  7 18:07:45 2010
@@ -187,13 +187,13 @@ class OOOdCommandTransform(commandtransf
                           xml_declaration=False, pretty_print=False, )
 
   def convert(self):
-    tmp_ooo = newTempOOoDocument(self.context, self.name)
+    tmp_ooo = newTempOOoDocument(self.context, self.name())
     # XXX We store the same content inside data and base_data
     # otherwise conversion server fails to convert html=>odt for example.
     # deeper investigation is required inside oood to understand this issue.
     tmp_ooo.edit( base_data=self.data,
-                  fname=self.name,
-                  source_reference=self.name,
+                  fname=self.name(),
+                  source_reference=self.name(),
                   base_content_type=self.mimetype,
                   content_type=self.mimetype,)
     self.ooo = tmp_ooo




More information about the Erp5-report mailing list