From 3c9845ccf38b9adc9dd1e4c01a6291f12642db1e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 7 Aug 2011 15:18:22 -0400 Subject: make the excview_tween_factory name importable --- pyramid/tweens.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyramid/tweens.py b/pyramid/tweens.py index 93a564cfc..56945b165 100644 --- a/pyramid/tweens.py +++ b/pyramid/tweens.py @@ -60,9 +60,6 @@ class CyclicDependencyError(Exception): msg = '; '.join(L) return msg -MAIN = 'main' -INGRESS = 'ingress' - class Tweens(object): implements(ITweens) def __init__(self): @@ -190,3 +187,8 @@ def tween_factory_name(factory): 'A tween factory must be a class, an instance, or a function; ' '%s is not a suitable tween factory' % factory) return name + +MAIN = 'main' +INGRESS = 'ingress' +EXCVIEW = tween_factory_name(excview_tween_factory) + -- cgit v1.2.3