[Erp5-report] r44571 nicolas - /erp5/trunk/products/ERP5OOo/transforms/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 24 17:33:44 CET 2011
Author: nicolas
Date: Thu Mar 24 17:33:43 2011
New Revision: 44571
URL: http://svn.erp5.org?rev=44571&view=rev
Log:
Accept empty filenames, source_format and destination_format are enough to convert successfuly
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=44571&r1=44570&r2=44571&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/transforms/oood_commandtransform.py [utf8] Thu Mar 24 17:33:43 2011
@@ -62,8 +62,7 @@ class OOOdCommandTransform(commandtransf
def __init__(self, context, name, data, mimetype):
commandtransform.__init__(self, name)
- if name:
- self.__name__ = name
+ self.__name__ = name
self.mimetype = mimetype
self.context = context
if self.mimetype == 'text/html':
More information about the Erp5-report
mailing list