[FIX] fix bad copy/paste.

bzr revid: vmt@openerp.com-20110513093701-1lgbe077o72djjbt
This commit is contained in:
Vo Minh Thu 2011-05-13 11:37:01 +02:00
parent 09079b0102
commit 6c051106ae
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def delete_pool(db_name):
def restart_pool(db_name, force_demo=False, status=None, update_module=False):
"""Delete an existing registry and return a database connection and a newly initialized registry."""
ensure_registries()
bound_registry = _Registries.new(db_name, force_demo, status, update_module, pooljobs)
bound_registry = _Registries.new(db_name, force_demo, status, update_module, True)
return bound_registry.db, bound_registry.registry