diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2011-02-15 18:14:02 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2011-02-15 18:14:02 +0100 |
commit | f9626c6a8fa6609948b6482742ab069851c24423 (patch) | |
tree | 8472d0d0cbb78a4038ceee3a0b5b596e9b90fbc3 /l10ntools | |
parent | 13842972b30a962d3a60038608c5aed3c806fe95 (diff) | |
parent | 6417dec44650ef333c94d0ecdb2c848dca088ec3 (diff) |
CWS-TOOLING: integrate CWS spc01_DEV300
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/scripts/tool/l10ntool.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/l10ntools/scripts/tool/l10ntool.py b/l10ntools/scripts/tool/l10ntool.py index b65c262b6020..126b991c377b 100644 --- a/l10ntools/scripts/tool/l10ntool.py +++ b/l10ntools/scripts/tool/l10ntool.py @@ -122,6 +122,11 @@ class AbstractL10nTool: pass try: + os.remove(outputfilename) + except: + pass + + try: shutil.copy(inputfilename, outputfilename) except IOError: print "ERROR: Can not copy file '" + inputfilename + "' to " + "'" + outputfilename + "'" |