diff options
| author | Michael Merickel <michael@merickel.org> | 2011-08-11 21:38:14 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-08-11 21:38:14 -0500 |
| commit | 33277785fd3b088420a4319f567159f7aabfd99e (patch) | |
| tree | 12e12b917160c29623836f0e17b5b29b6cd75555 | |
| parent | 4d23e6652272956890ef79f003be3aa86fc7241d (diff) | |
| parent | 954c3bc1085c9c41b620e14a4362665e7870baf8 (diff) | |
| download | pyramid-33277785fd3b088420a4319f567159f7aabfd99e.tar.gz pyramid-33277785fd3b088420a4319f567159f7aabfd99e.tar.bz2 pyramid-33277785fd3b088420a4319f567159f7aabfd99e.zip | |
Merge branch 'fix.ini-includes'
| -rw-r--r-- | pyramid/config.py | 2 | ||||
| -rw-r--r-- | pyramid/tests/test_config.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/config.py b/pyramid/config.py index b7fa7cac5..988c35a54 100644 --- a/pyramid/config.py +++ b/pyramid/config.py @@ -772,7 +772,7 @@ class Configurator(object): includes = [] if settings: includes = [x.strip() for x in - settings.get('pyramid.include', '').splitlines()] + settings.get('pyramid.includes', '').splitlines()] tweens = [x.strip() for x in settings.get('pyramid.tweens','').splitlines()] registry = self.registry diff --git a/pyramid/tests/test_config.py b/pyramid/tests/test_config.py index 5f5bbdc53..d0c8d9312 100644 --- a/pyramid/tests/test_config.py +++ b/pyramid/tests/test_config.py @@ -577,7 +577,7 @@ class ConfiguratorTests(unittest.TestCase): reg = Registry() config = self._makeOne(reg) settings = { - 'pyramid.include': """pyramid.tests.test_config.dummy_include + 'pyramid.includes': """pyramid.tests.test_config.dummy_include pyramid.tests.test_config.dummy_include2""", } config.setup_registry(settings=settings) |
