Skip to content
Snippets Groups Projects
Commit 59e0ef08 authored by Vo Minh Thu's avatar Vo Minh Thu
Browse files

[IMP] oe read: use common.set_addons().

bzr revid: vmt@openerp.com-20130121162701-1230alp0cc2l2u5e
parent 9d56c479
No related branches found
No related tags found
No related merge requests found
......@@ -15,11 +15,7 @@ def run(args):
import openerp
config = openerp.tools.config
config['log_handler'] = [':CRITICAL']
if args.addons:
args.addons = args.addons.split(':')
else:
args.addons = []
config['addons_path'] = ','.join(args.addons)
common.set_addons(args)
openerp.netsvc.init_logger()
registry = openerp.modules.registry.RegistryManager.get(
args.database, update_module=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment