[Python-modules-commits] [python-odf] 38/118: Do not overwrite the XML files
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Oct 3 21:27:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to reference refs/remotes/upstream/master
in repository python-odf.
commit 160b9edd1076a77223c13c9d1bd52c3e3172a759
Author: Søren Roug <soren.roug at eea.europa.eu>
Date: Wed Jan 14 10:39:29 2009 +0000
Do not overwrite the XML files
---
odf/opendocument.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/odf/opendocument.py b/odf/opendocument.py
index 6b2e16b..2744c25 100644
--- a/odf/opendocument.py
+++ b/odf/opendocument.py
@@ -552,6 +552,8 @@ def load(odffile):
doc.addPicture(mvalue['full-path'], mvalue['media-type'], z.read(mentry))
elif mentry == "Thumbnails/thumbnail.png":
doc.addThumbnail(z.read(mentry))
+ elif mentry in ('settings.xml', 'meta.xml', 'content.xml', 'styles.xml'):
+ pass
else:
if mvalue['full-path'][-1] == '/':
doc._extra.append(OpaqueObject(mvalue['full-path'], mvalue['media-type'], None))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-odf.git
More information about the Python-modules-commits
mailing list