Commit 6d0abe3f authored by Gabriel Monnerat's avatar Gabriel Monnerat

Remove useless spaces and update comments

parent d64f11aa
...@@ -524,15 +524,15 @@ class OOoTemplate(ZopePageTemplate): ...@@ -524,15 +524,15 @@ class OOoTemplate(ZopePageTemplate):
# Get batch_mode # Get batch_mode
batch_mode = opts.get('batch_mode', None) 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: 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(): for name in additional_builder.getNameList():
if name not in ('META-INF/manifest.xml',): if name not in ('META-INF/manifest.xml',):
# We don't replace manifest # 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() ooo_builder.updateManifest()
# Produce final result # Produce final result
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment