diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-20 19:39:40 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-20 19:39:40 -0400 |
| commit | 79ebb681ad5a866d98186a520922ecc9fe85340c (patch) | |
| tree | 681a98153cfe40dad99dde4858f4111c804b92b8 | |
| parent | 1441407805178dda591db3a8ccd931d38baa7f4a (diff) | |
| download | pyramid-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.py | 2 |
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): |
