summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-06 16:35:26 -0400
committerChris McDonough <chrism@plope.com>2011-08-06 16:35:26 -0400
commit4f321df3ae4f09445555b653ef421f6b6fd97069 (patch)
tree2491d0d88389f92eaca8452a5372233b501e12e3
parent28b40471d5a3558ee0dfe1d445c5b8bec0c1cf0b (diff)
downloadpyramid-4f321df3ae4f09445555b653ef421f6b6fd97069.tar.gz
pyramid-4f321df3ae4f09445555b653ef421f6b6fd97069.tar.bz2
pyramid-4f321df3ae4f09445555b653ef421f6b6fd97069.zip
dont pop pyramid.includes or pyramid.request_handlers from the settings
-rw-r--r--pyramid/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/config.py b/pyramid/config.py
index 914bfbd53..6a7b4d328 100644
--- a/pyramid/config.py
+++ b/pyramid/config.py
@@ -717,9 +717,9 @@ class Configurator(object):
other settings using the configurator's current registry, as per the
descriptions in the Configurator constructor."""
if settings:
- includes = settings.pop('pyramid.include', '')
+ includes = settings.get('pyramid.include', '')
includes = [x.strip() for x in includes.splitlines()]
- expl_handler_factories = settings.pop('pyramid.request_handlers','')
+ expl_handler_factories = settings.get('pyramid.request_handlers','')
expl_handler_factories = [x.strip() for x in
expl_handler_factories.splitlines()]
else: