[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:
Vo Minh Thu 2011-05-19 09:39:35 +02:00
parent a09b91d8fd
commit 16ac84af68
4 changed files with 7 additions and 35 deletions

View File

@ -32,7 +32,6 @@ import netsvc
import osv
import pooler
import pychart
import registry
import release
import report
import run_tests

View File

@ -19,10 +19,7 @@
#
##############################################################################
""" Model registries manager.
The manager is responsible for creation and deletion of bound model
registries (essentially database connection/model registry pairs).
""" Models registries.
"""
@ -37,7 +34,12 @@ class BoundRegistry(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
def __init__(self):

View File

@ -25,7 +25,7 @@
"""
from openerp.registry.manager import RegistryManager
from openerp.modules.registry import RegistryManager
_Registries = None

View File

@ -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: