From 15be9006b7b3407e81bb64dfad831f2d9317a90c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 10 Aug 2011 18:24:13 -0400 Subject: [PATCH] fill in template hole --- pyramid/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/config.py b/pyramid/config.py index 917b689b1b..60d406a62b 100644 --- a/pyramid/config.py +++ b/pyramid/config.py @@ -995,10 +995,10 @@ def _add_tween(self, tween_factory, alias=None, under=None, over=None, 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)