[FIX] fix python 2.4 compatibility

bzr revid: christophe@cobalt-20081218092727-vhhti8qj1em32xdc
This commit is contained in:
Christophe Simonis 2008-12-18 10:27:27 +01:00
parent 3fb0723abd
commit 4874f78914
1 changed files with 0 additions and 3 deletions

View File

@ -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