[FIX] fix python 2.4 compatibility
bzr revid: christophe@cobalt-20081218092727-vhhti8qj1em32xdc
This commit is contained in:
parent
3fb0723abd
commit
4874f78914
|
@ -491,9 +491,6 @@ def trans_generate(lang, modules, dbname=None):
|
|||
trans = trans_obj._get_source(cr, uid, name, type, lang, source)
|
||||
out.append([module, type, name, id, source, encode(trans) or ''])
|
||||
|
||||
from pprint import pformat
|
||||
netsvc.Logger().notifyChannel('translation', netsvc.LOG_DEBUG, pformat(filter(lambda o:any(isinstance(x, unicode) for x in o), out)))
|
||||
|
||||
cr.close()
|
||||
return out
|
||||
|
||||
|
|
Loading…
Reference in New Issue