[REF] moved openerp/registry/manager.py => openerp/modules/registry.py
- Maybe it should be called registries.py... Argh, consistency... bzr revid: vmt@openerp.com-20110519073935-81kwuhlqcxxw1z32
This commit is contained in:
parent
a09b91d8fd
commit
16ac84af68
|
@ -32,7 +32,6 @@ import netsvc
|
||||||
import osv
|
import osv
|
||||||
import pooler
|
import pooler
|
||||||
import pychart
|
import pychart
|
||||||
import registry
|
|
||||||
import release
|
import release
|
||||||
import report
|
import report
|
||||||
import run_tests
|
import run_tests
|
||||||
|
|
|
@ -19,10 +19,7 @@
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
""" Model registries manager.
|
""" Models registries.
|
||||||
|
|
||||||
The manager is responsible for creation and deletion of bound model
|
|
||||||
registries (essentially database connection/model registry pairs).
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -37,7 +34,12 @@ class BoundRegistry(object):
|
||||||
|
|
||||||
|
|
||||||
class RegistryManager(object):
|
class RegistryManager(object):
|
||||||
|
""" Model registries manager.
|
||||||
|
|
||||||
|
The manager is responsible for creation and deletion of bound model
|
||||||
|
registries (essentially database connection/model registry pairs).
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
# TODO maybe should receive the addons paths
|
# TODO maybe should receive the addons paths
|
||||||
def __init__(self):
|
def __init__(self):
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from openerp.registry.manager import RegistryManager
|
from openerp.modules.registry import RegistryManager
|
||||||
|
|
||||||
_Registries = None
|
_Registries = None
|
||||||
|
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# OpenERP, Open Source Management Solution
|
|
||||||
# Copyright (C) 2011 OpenERP s.a. (<http://openerp.com>).
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
""" Modules registries.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import manager
|
|
||||||
|
|
||||||
|
|
||||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
Loading…
Reference in New Issue