From 79ebb681ad5a866d98186a520922ecc9fe85340c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 20 Aug 2011 19:39:40 -0400 Subject: _add_tween is the action method, not the nonunderscore version --- pyramid/config/tweens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/config/tweens.py b/pyramid/config/tweens.py index 46238b136..41f485aec 100644 --- a/pyramid/config/tweens.py +++ b/pyramid/config/tweens.py @@ -9,7 +9,6 @@ from pyramid.tweens import MAIN, INGRESS, EXCVIEW from pyramid.config.util import action_method class TweensConfiguratorMixin(object): - @action_method def add_tween(self, tween_factory, alias=None, under=None, over=None): """ .. note:: This feature is new as of Pyramid 1.2. @@ -105,6 +104,7 @@ class TweensConfiguratorMixin(object): return self._add_tween(tween_factory, alias=alias, under=under, over=over, explicit=False) + @action_method def _add_tween(self, tween_factory, alias=None, under=None, over=None, explicit=False): -- cgit v1.2.3