[FIX] service.db: forgot to remove the indicing when pooler.get_pool() was replaced.

lp bug: https://launchpad.net/bugs/1162681 fixed

bzr revid: vmt@openerp.com-20130402091852-9hsatm95ej53lllg
This commit is contained in:
Vo Minh Thu 2013-04-02 11:18:52 +02:00
parent b4c2805012
commit 9c4f0bf9d8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def _initialize_db(id, db_name, demo, lang, user_password):
cr = None
registry = openerp.modules.registry.RegistryManager.new(
db_name, demo, self_actions[id], update_module=True)[1]
db_name, demo, self_actions[id], update_module=True)
try:
cr = openerp.sql_db.db_connect(db_name).cursor()