diff options
| author | Olivier Dony <odo@openerp.com> | 2012-10-03 17:21:21 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-10-03 17:21:21 +0200 |
| commit | a09b2fdff1586b7cc51053eabc5b3b9f6cc9a8bc (patch) | |
| tree | d36d6798538b12c00aa86825e1026b2a68f17cf0 /addons | |
| parent | a606742693d9c7ef81b7dab0b815853b18d38ce7 (diff) | |
[REM] cleanup leftover debug logging
bzr revid: odo@openerp.com-20121003152121-yeg4vhph4cy7xgpp
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/controllers/main.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 7e7282eb231..356e2960346 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -709,7 +709,6 @@ class WebClient(openerpweb.Controller): # Regional languages (ll_CC) must inherit/override their parent lang (ll), but this is # done server-side when the language is loaded, so we only need to load the user's lang. - start = datetime.datetime.now() ir_translation = req.session.model('ir.translation') translations_per_module = {} messages = ir_translation.search_read([('module','in',mods),('lang','=',lang), @@ -721,11 +720,6 @@ class WebClient(openerpweb.Controller): translations_per_module[mod]['messages'].extend({'id': m['src'], 'string': m['value']} \ for m in msg_group) - - print "Loaded translations in ", datetime.datetime.now()-start - import pprint - pprint.pprint(translations_per_module) - return {"modules": translations_per_module, "lang_parameters": lang_params} |
