[FIX] tools.translate: remove useless duplicate line
bzr revid: odo@openerp.com-20101221143718-ml2xg42yypn6b8fm
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user