diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-09-07 19:18:26 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-09-07 19:18:26 +0200 |
commit | 74729cf12e63d837a7bdad16ae0089973635d7fc (patch) | |
tree | 91d16dad35c6fb3f21bacb5db29d921c0202bfb7 /l10ntools | |
parent | fb46f7604731b35033691987ef4936a5248c9b88 (diff) |
#i10000# open file mode r+ -> r
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/scripts/tool/xhtex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/scripts/tool/xhtex.py b/l10ntools/scripts/tool/xhtex.py index c427a7feccdd..ae973aacc555 100644 --- a/l10ntools/scripts/tool/xhtex.py +++ b/l10ntools/scripts/tool/xhtex.py @@ -108,7 +108,7 @@ class Xhtex(AbstractL10nTool): def parse_file(self, filename): document = "" try: - f = open(filename,"r+") + f = open(filename,"r") document = f.read() except IOError: print "ERROR: Can not read file " + filename |