[FIX] tools.translate: remove useless duplicate line

bzr revid: odo@openerp.com-20101221143718-ml2xg42yypn6b8fm
This commit is contained in:
Olivier Dony 2010-12-21 15:37:18 +01:00
parent 1ba2ff569f
commit e5ecadeda7
1 changed files with 0 additions and 1 deletions

View File

@ -159,7 +159,6 @@ class GettextAlias(object):
# find current DB based on thread/worker db name (see netsvc)
db_name = getattr(threading.currentThread(), 'dbname', None)
if db_name:
dbname = getattr(threading.currentThread(), 'dbname')
return pooler.get_db_only(dbname)
def _get_cr(self, frame):