diff options
author | Christian Lippka <cl@openoffice.org> | 2010-12-01 10:58:22 +0100 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2010-12-01 10:58:22 +0100 |
commit | 9439eba6db26f27bb713168440d27fe51fbfadb8 (patch) | |
tree | e12be13a5610dada674d75b36822fe50047c1f95 /l10ntools/scripts/tool/l10ntool.py | |
parent | fa4b286294a272b085c2f74e12581edc2343fc18 (diff) | |
parent | 69777a477e6084a9cd49c92b25fa4dc35b41e49d (diff) |
impressdefaults1: merge
Diffstat (limited to 'l10ntools/scripts/tool/l10ntool.py')
-rw-r--r-- | l10ntools/scripts/tool/l10ntool.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/l10ntools/scripts/tool/l10ntool.py b/l10ntools/scripts/tool/l10ntool.py index 70d88674f07b..f1630027ccdc 100644 --- a/l10ntools/scripts/tool/l10ntool.py +++ b/l10ntools/scripts/tool/l10ntool.py @@ -66,11 +66,10 @@ class AbstractL10nTool: pass ################################################################################################ - + def format_outputfile(self, filename, language): extension = filename[filename.rfind('.')+1:] file = filename[:filename.rfind('.')] - # Python 2.3.x friendly return self.get_outputfile_format_str().replace('[', '%(').replace(']',')s') % \ { 'filename': filename, 'fileNoExt': file, 'language': language, 'extension': extension, 'path_prefix': self._options.path_prefix, |