From 19466d028c1139445eb249c0363cafef5f870bdf Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 6 Aug 2011 18:15:24 -0400 Subject: remove temp bw compat; the return signature of tweens has changed anyway --- pyramid/config.py | 5 ----- 1 file changed, 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 -- cgit v1.2.3