[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:
parent
b4c2805012
commit
9c4f0bf9d8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue