diff options
| author | HDA (OpenERP) <hda@tinyerp.com> | 2009-11-17 18:15:48 +0530 |
|---|---|---|
| committer | HDA (OpenERP) <hda@tinyerp.com> | 2009-11-17 18:15:48 +0530 |
| commit | 3cb58ecdc3fda034bd50ea9a4ac2046d666f8365 (patch) | |
| tree | 309c1f8a7a31f2ff5145aa4b1efa02b24f31f644 /bin/tools | |
| parent | b6577e3e5ad08a8763e0f9971df0178631d5f808 (diff) | |
Fixed xml dom problem in export translation.
bzr revid: hda@tinyerp.com-20091117124548-1g1jgzkr3co90ssh
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/translate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tools/translate.py b/bin/tools/translate.py index 9f705e42a20..7e779975a10 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -471,8 +471,8 @@ def trans_generate(lang, modules, dbname=None): # export arch arch = result['arch'] if arch and not isinstance(arch, UpdateableStr): - d = xml.dom.minidom.parseString(arch) - for t in trans_parse_view(d.documentElement): + d = etree.XML(arch) + for t in trans_parse_view(d): push_translation(module, 'wizard_view', name, 0, t) # export button labels |
