diff options
| author | Anup (OpenERP) <ach@tinyerp.com> | 2010-10-12 17:39:08 +0530 |
|---|---|---|
| committer | Anup (OpenERP) <ach@tinyerp.com> | 2010-10-12 17:39:08 +0530 |
| commit | e1f829b0eba128971ce36f8774c9cfb5fbfeda8d (patch) | |
| tree | 0743fa0e6d8abfc4d8f22b94effe118b8dee39bb | |
| parent | 6a2408f6cfa17c1f38126cec3453bdd24547e945 (diff) | |
[FIX] Export & Synchronize Translations Corrected
lp bug: https://launchpad.net/bugs/658993 fixed
bzr revid: ach@tinyerp.com-20101012120908-1u5n29r040drhhzs
| -rw-r--r-- | bin/tools/translate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/translate.py b/bin/tools/translate.py index b9ce95cdaaa..64c30af5600 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -605,7 +605,7 @@ def trans_generate(lang, modules, dbname=None): if fname and obj.report_type in ('pdf', 'xsl'): try: d = etree.parse(tools.file_open(fname)) - for t in parse_func(d): + for t in parse_func(d.iter()): push_translation(module, report_type, name, 0, t) except (IOError, etree.XMLSyntaxError): logging.getLogger("i18n").exception("couldn't export translation for report %s %s %s", name, report_type, fname) |
