summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-20 19:39:40 -0400
committerChris McDonough <chrism@plope.com>2011-08-20 19:39:40 -0400
commit79ebb681ad5a866d98186a520922ecc9fe85340c (patch)
tree681a98153cfe40dad99dde4858f4111c804b92b8
parent1441407805178dda591db3a8ccd931d38baa7f4a (diff)
downloadpyramid-79ebb681ad5a866d98186a520922ecc9fe85340c.tar.gz
pyramid-79ebb681ad5a866d98186a520922ecc9fe85340c.tar.bz2
pyramid-79ebb681ad5a866d98186a520922ecc9fe85340c.zip
_add_tween is the action method, not the nonunderscore version
-rw-r--r--pyramid/config/tweens.py2
1 files changed, 1 insertions, 1 deletions
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):