summaryrefslogtreecommitdiff
path: root/paste/recursive.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-03-07 17:26:41 +0000
committerianb <devnull@localhost>2006-03-07 17:26:41 +0000
commitcb666000b02e90fb019f4c63c19f61c682613054 (patch)
tree0ba92784188b445b26087b113540aded88a94144 /paste/recursive.py
parent1d3b1dc603fbba824ab32151b2f953cee63d6e54 (diff)
downloadpaste-cb666000b02e90fb019f4c63c19f61c682613054.tar.gz
move warnings in paste.recursive; added conditional argument to paste.wsgilib.intercept_output
Diffstat (limited to 'paste/recursive.py')
-rw-r--r--paste/recursive.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/paste/recursive.py b/paste/recursive.py
index f38367c..fb457c7 100644
--- a/paste/recursive.py
+++ b/paste/recursive.py
@@ -127,14 +127,11 @@ class Forwarder(Recursive):
rewritten.
"""
- def __init__(self, *args, **kw):
+ def activate(self, environ):
warnings.warn(
"recursive.Forwarder has been deprecated; please use "
"ForwardRequestException",
DeprecationWarning, 2)
- Recursive.__init__(self, *args, **kw)
-
- def activate(self, environ):
return self.application(environ, self.start_response)