[Erp5-report] r19205 - /erp5/trunk/products/ERP5OOo/Document/OOoDocument.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Feb 9 19:06:26 CET 2008


Author: jp
Date: Sat Feb  9 19:06:25 2008
New Revision: 19205

URL: http://svn.erp5.org?rev=19205&view=rev
Log:
Useless first page handling removed (since we want all pages to implement links)

Modified:
    erp5/trunk/products/ERP5OOo/Document/OOoDocument.py

Modified: erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/OOoDocument.py?rev=19205&r1=19204&r2=19205&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py Sat Feb  9 19:06:25 2008
@@ -464,16 +464,8 @@
       must_close = 1
     else:
       must_close = 0
-    first_page = True
     for f in zip_file.infolist():
       file_name = f.filename
-      if file_name.endswith('html') and self.getPortalType() != 'Presentation':
-      #if file_name.endswith('html'):
-        continue
-      #if first_page and file_name.endswith('html'):
-      #  first_page = False
-      #  break
-      LOG('file_name', 0, file_name)
       document = self.get(file_name, None)
       if document is not None:
         self.manage_delObjects([file_name])




More information about the Erp5-report mailing list