Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fill in template hole

  • Loading branch information...
commit 15be9006b7b3407e81bb64dfad831f2d9317a90c 1 parent 04ca37b
@mcdonc mcdonc authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.