diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2013-01-21 17:27:01 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2013-01-21 17:27:01 +0100 |
| commit | 59e0ef08c4baec5bf8e04b37576b54a84119872a (patch) | |
| tree | 7501e484f0e89258e203dc6c9b3fa919872009db | |
| parent | 9d56c47916678ef163fc4ffde095988862ec02f0 (diff) | |
[IMP] oe read: use common.set_addons().
bzr revid: vmt@openerp.com-20130121162701-1230alp0cc2l2u5e
| -rw-r--r-- | openerpcommand/read.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openerpcommand/read.py b/openerpcommand/read.py index b013f14fecd..d8455e16fff 100644 --- a/openerpcommand/read.py +++ b/openerpcommand/read.py @@ -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) |
