Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
6d0abe3f
Commit
6d0abe3f
authored
Dec 11, 2012
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless spaces and update comments
parent
d64f11aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5OOo/OOoTemplate.py
product/ERP5OOo/OOoTemplate.py
+4
-4
No files found.
product/ERP5OOo/OOoTemplate.py
View file @
6d0abe3f
...
...
@@ -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 information
s
# Update the META information
ooo_builder.updateManifest()
# Produce final result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment