From c63151c07d6f0efccf06b40b39e231945212e7eb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 15 Jul 2011 15:33:46 -0400 Subject: note that make_app mutates global_registries --- pyramid/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyramid/config.py b/pyramid/config.py index 0ba7fb995..4a5514d9a 100644 --- a/pyramid/config.py +++ b/pyramid/config.py @@ -977,8 +977,10 @@ class Configurator(object): def make_wsgi_app(self): """ Commits any pending configuration statements, sends a :class:`pyramid.events.ApplicationCreated` event to all listeners, - and returns a :app:`Pyramid` WSGI application representing the - committed configuration state.""" + adds this configuration's reigstry to + :attr:`pyramid.config.global_registries`, and returns a + :app:`Pyramid` WSGI application representing the committed + configuration state.""" self.commit() from pyramid.router import Router # avoid circdep app = Router(self.registry) -- cgit v1.2.3