summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-15 15:33:46 -0400
committerChris McDonough <chrism@plope.com>2011-07-15 15:33:46 -0400
commitc63151c07d6f0efccf06b40b39e231945212e7eb (patch)
tree948ca645f2482084821546eefeac4f05312b9eb0
parent999d44cf53e2213be8df881c2b407986b462c79c (diff)
downloadpyramid-c63151c07d6f0efccf06b40b39e231945212e7eb.tar.gz
pyramid-c63151c07d6f0efccf06b40b39e231945212e7eb.tar.bz2
pyramid-c63151c07d6f0efccf06b40b39e231945212e7eb.zip
note that make_app mutates global_registries
-rw-r--r--pyramid/config.py6
1 files 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)