From 30cb4b88915b52d48a8aa1cab37f7291fd69016a Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 24 Nov 2010 19:41:08 +0100 Subject: [PATCH] [IMP] orm.orm: cleaned up comments after previous patches bzr revid: odo@openerp.com-20101124184108-iw1up4jomysfoh85 --- bin/osv/orm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 757f05b321a..d8dc906187c 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1058,8 +1058,6 @@ class orm_template(object): # callable() because it will be deprecated as of Python 3.0 if hasattr(msg, '__call__'): tmp_msg = msg(self, cr, uid, ids, context=context) - # Why translate something that has been generated dynamically? - # tmp_msg = trans._get_source(cr, uid, self._name, 'constraint', lng, source=txt_msg) or txt_msg if isinstance(tmp_msg, tuple): tmp_msg, params = tmp_msg translated_msg = tmp_msg % params