Skip to content
Browse files

fill in template hole

  • Loading branch information...
1 parent 04ca37b commit 15be9006b7b3407e81bb64dfad831f2d9317a90c @mcdonc mcdonc committed Aug 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 pyramid/config.py
View
4 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)

0 comments on commit 15be900

Please sign in to comment.
Something went wrong with that request. Please try again.