summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-10 18:24:13 -0400
committerChris McDonough <chrism@plope.com>2011-08-10 18:24:13 -0400
commit15be9006b7b3407e81bb64dfad831f2d9317a90c (patch)
tree3c604b23c0bbc7635f3e15b6fc2b05657b5035ce
parent04ca37b938fc99c05b00e4cb817dc0fe1bebc21b (diff)
downloadpyramid-15be9006b7b3407e81bb64dfad831f2d9317a90c.tar.gz
pyramid-15be9006b7b3407e81bb64dfad831f2d9317a90c.tar.bz2
pyramid-15be9006b7b3407e81bb64dfad831f2d9317a90c.zip
fill in template hole
-rw-r--r--pyramid/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/config.py b/pyramid/config.py
index 917b689b1..60d406a62 100644
--- a/pyramid/config.py
+++ b/pyramid/config.py
@@ -995,10 +995,10 @@ class Configurator(object):
raise ConfigurationError('%s is a reserved tween name' % alias)
if over is INGRESS:
- raise ConfigurationError('%s cannot be over INGRESS')
+ raise ConfigurationError('%s cannot be over INGRESS' % name)
if under is MAIN:
- raise ConfigurationError('%s cannot be under MAIN')
+ raise ConfigurationError('%s cannot be under MAIN' % name)
registry = self.registry
tweens = registry.queryUtility(ITweens)