Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Romain Courteaud
erp5
Commits
6d0abe3f
Commit
6d0abe3f
authored
12 years ago
by
Gabriel Monnerat
Browse files
Options
Download
Email Patches
Plain Diff
Remove useless spaces and update comments
parent
d64f11aa
Changes
1
Hide 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
i
t
# If the file has embedded OLE documents, restore t
hem
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
...
...
This diff is collapsed.
Click to expand it.
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