From 57267a39be342ace47cccfcb481dcc407a48b0d7 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 18 Nov 2009 00:37:21 +0000 Subject: - The ``repoze.bfg.registry.make_registry`` callable has been removed. - The ``repoze.bfg.view.map_view`` callable has been removed. - The ``repoze.bfg.view.owrap_view`` callable has been removed. - The ``repoze.bfg.view.predicate_wrap`` callable has been removed. - The ``repoze.bfg.view.secure_view`` callable has been removed. - The ``repoze.bfg.view.authdebug_view`` callable has been removed. - The ``repoze.bfg.view.renderer_from_name`` callable has been removed. - Coverage. --- repoze/bfg/configuration.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'repoze/bfg/configuration.py') diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py index 6b6aa6b86..bd1df14fd 100644 --- a/repoze/bfg/configuration.py +++ b/repoze/bfg/configuration.py @@ -62,7 +62,6 @@ from repoze.bfg.view import static as static_view import martian - def zcml_configure(name, package): """ Given a ZCML filename as ``name`` and a Python package as ``package`` which the filename should be relative to, load the @@ -136,12 +135,10 @@ class Configurator(object): zope.component.getGlobalSiteManager = get_current_registry zcml_configure(filename, package) finally: - # intentional: do not call getSiteManager.reset(); executing - # this function means we're taking over getSiteManager for the - # lifetime of this process zope.component.getGlobalSiteManager = getGlobalSiteManager lock.release() manager.pop() + getSiteManager.reset() def view(self, permission=None, for_=None, view=None, name="", request_type=None, route_name=None, request_method=None, -- cgit v1.2.3