summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-07 15:18:22 -0400
committerChris McDonough <chrism@plope.com>2011-08-07 15:18:22 -0400
commit3c9845ccf38b9adc9dd1e4c01a6291f12642db1e (patch)
tree84d8857fbb703ebfbaf568b3128cf2871eda8850
parent8517d44072ee79535097ccfda25764f72ec45f81 (diff)
downloadpyramid-3c9845ccf38b9adc9dd1e4c01a6291f12642db1e.tar.gz
pyramid-3c9845ccf38b9adc9dd1e4c01a6291f12642db1e.tar.bz2
pyramid-3c9845ccf38b9adc9dd1e4c01a6291f12642db1e.zip
make the excview_tween_factory name importable
-rw-r--r--pyramid/tweens.py8
1 files 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)
+