From 6d0abe3f6ee98951ebe8185409f371599c96a82b Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Tue, 11 Dec 2012 15:57:14 +0100
Subject: [PATCH] Remove useless spaces and update comments

---
 product/ERP5OOo/OOoTemplate.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/product/ERP5OOo/OOoTemplate.py b/product/ERP5OOo/OOoTemplate.py
index 2f7013266f..244ccf2a02 100644
--- a/product/ERP5OOo/OOoTemplate.py
+++ b/product/ERP5OOo/OOoTemplate.py
@@ -524,15 +524,15 @@ class OOoTemplate(ZopePageTemplate):
     # Get batch_mode
     batch_mode = opts.get('batch_mode', None)
 
-    # If the file has embedded OLE documents, restore it
+    # If the file has embedded OLE documents, restore them
     if self.OLE_documents_zipstring:
-      additional_builder = OOoBuilder( self.OLE_documents_zipstring )
+      additional_builder = OOoBuilder(self.OLE_documents_zipstring)
       for name in additional_builder.getNameList():
         if name not in ('META-INF/manifest.xml',):
           # We don't replace manifest
-          ooo_builder.replace(name, additional_builder.extract(name) )
+          ooo_builder.replace(name, additional_builder.extract(name))
 
-    # Update the META informations
+    # Update the META information
     ooo_builder.updateManifest()
 
     # Produce final result
-- 
2.30.9