[REF] avoid the lookup in sorted translation export as suggested by Guewen Baconnier @ Camptocamp
bzr revid: ls@numerigraphe.com-20130829075035-lml81a7bbn66c8qu
This commit is contained in:
parent
3276861ff6
commit
1f3a482f4f
|
@ -458,8 +458,7 @@ def trans_export(lang, modules, buffer, format, cr):
|
|||
row.setdefault('tnrs', []).append((type, name, res_id))
|
||||
row.setdefault('comments', set()).update(comments)
|
||||
|
||||
for src in sorted(grouped_rows):
|
||||
row = grouped_rows[src]
|
||||
for src, row in sorted(grouped_rows.items()):
|
||||
if not lang:
|
||||
# translation template, so no translation value
|
||||
row['translation'] = ''
|
||||
|
|
Loading…
Reference in New Issue