Fix exporting of translations .tgz.

bzr revid: p_christ@hol.gr-20090516201039-ecpi4fnw0ux0qt75
This commit is contained in:
P. Christeas
2009-05-16 23:10:39 +03:00
parent f27ea7d905
commit d9460e53c6
+1 -4
View File
@@ -461,10 +461,7 @@ def trans_generate(lang, modules, dbname=None):
def_params = {
'string': ('wizard_field', lambda s: [encode(s)]),
'selection': ('selection', lambda s: [encode(e[1]) for e in
(not callable(s) and s) or
(callable(s) and s(None, cr, uid, {}))
or [] ]),
'selection': ('selection', lambda s: [encode(e[1]) for e in ((not callable(s)) and s or [])] ),
'help': ('help', lambda s: [encode(s)]),
}