summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-06 18:15:24 -0400
committerChris McDonough <chrism@plope.com>2011-08-06 18:15:24 -0400
commit19466d028c1139445eb249c0363cafef5f870bdf (patch)
tree0279dd1be9875ad14379c834d61db56f7dec69e0
parent3e15222b7d92e55f1c53ee252d3bebf25944e216 (diff)
downloadpyramid-19466d028c1139445eb249c0363cafef5f870bdf.tar.gz
pyramid-19466d028c1139445eb249c0363cafef5f870bdf.tar.bz2
pyramid-19466d028c1139445eb249c0363cafef5f870bdf.zip
remove temp bw compat; the return signature of tweens has changed anyway
-rw-r--r--pyramid/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pyramid/config.py b/pyramid/config.py
index db5e5f945..c1adb51c9 100644
--- a/pyramid/config.py
+++ b/pyramid/config.py
@@ -1025,11 +1025,6 @@ class Configurator(object):
handler_manager.add(name, tween_factory, explicit)
self.action(('tween', name), register)
- # XXX temporary bw compat for debugtoolbar
- @action_method
- def add_request_handler(self, factory, name): # pragma: no cover
- return self._add_tween(factory, explicit=False)
-
@action_method
def add_subscriber(self, subscriber, iface=None):
"""Add an event :term:`subscriber` for the event stream