summaryrefslogtreecommitdiff
path: root/openerpcommand
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2013-02-09 07:02:46 +0100
committerVo Minh Thu <vmt@openerp.com>2013-02-09 07:02:46 +0100
commit69fefde965f1f0204292ed5c50ee19ddcc12d923 (patch)
tree2f19e26b9eb052322ec9aa2b7597887e57278e64 /openerpcommand
parentc92a3faaa33aaaa5e4e25091909f6ccca3544851 (diff)
[IMP] The open openerp namespace is removed.
bzr revid: vmt@openerp.com-20130209060246-o7qs51c2uc0kecjo
Diffstat (limited to 'openerpcommand')
-rw-r--r--openerpcommand/initialize.py2
-rw-r--r--openerpcommand/run_tests.py1
-rw-r--r--openerpcommand/uninstall.py1
3 files changed, 0 insertions, 4 deletions
diff --git a/openerpcommand/initialize.py b/openerpcommand/initialize.py
index 34c188bd583..44fb084bd1e 100644
--- a/openerpcommand/initialize.py
+++ b/openerpcommand/initialize.py
@@ -17,8 +17,6 @@ def install_openerp(database_name, create_database_flag, module_names, install_d
# Install the import hook, to import openerp.addons.<module>.
openerp.modules.module.initialize_sys_path()
- if hasattr(openerp.modules.loading, 'open_openerp_namespace'):
- openerp.modules.loading.open_openerp_namespace()
registry = openerp.modules.registry.RegistryManager.get(
database_name, update_module=True, force_demo=install_demo_data)
diff --git a/openerpcommand/run_tests.py b/openerpcommand/run_tests.py
index 80e968b6fae..4000b227b90 100644
--- a/openerpcommand/run_tests.py
+++ b/openerpcommand/run_tests.py
@@ -120,7 +120,6 @@ def run(args):
# Install the import hook, to import openerp.addons.<module>.
openerp.modules.module.initialize_sys_path()
- openerp.modules.loading.open_openerp_namespace()
# Extract module, submodule from the command-line args.
if args.module is None:
diff --git a/openerpcommand/uninstall.py b/openerpcommand/uninstall.py
index 9d5d93bda05..27e4e04002a 100644
--- a/openerpcommand/uninstall.py
+++ b/openerpcommand/uninstall.py
@@ -38,7 +38,6 @@ def run(args):
# Install the import hook, to import openerp.addons.<module>.
openerp.modules.module.initialize_sys_path()
- openerp.modules.loading.open_openerp_namespace()
registry = openerp.modules.registry.RegistryManager.get(
args.database, update_module=False)