[Erp5-report] r42986 seb - /erp5/trunk/products/ERP5OOo/OOoTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 3 14:51:39 CET 2011


Author: seb
Date: Thu Feb  3 14:51:39 2011
New Revision: 42986

URL: http://svn.erp5.org?rev=42986&view=rev
Log:
we should not look inside request, this is not clean.
Remove this debug mode, it is probably not used

Modified:
    erp5/trunk/products/ERP5OOo/OOoTemplate.py

Modified: erp5/trunk/products/ERP5OOo/OOoTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/OOoTemplate.py?rev=42986&r1=42985&r2=42986&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/OOoTemplate.py [utf8] Thu Feb  3 14:51:39 2011
@@ -531,10 +531,6 @@ class OOoTemplate(ZopePageTemplate):
                                  media_type=document_dict['doc_type'],
                                  content=document_dict['document'])
 
-    # Debug mode
-    if request.get('debug',0):
-      return doc_xml
-
     # Replace content.xml in master openoffice template
     ooo_builder.replace(self.ooo_xml_file_id, doc_xml)
 



More information about the Erp5-report mailing list