diff options
author | ianb <devnull@localhost> | 2006-03-07 17:26:41 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-03-07 17:26:41 +0000 |
commit | cb666000b02e90fb019f4c63c19f61c682613054 (patch) | |
tree | 0ba92784188b445b26087b113540aded88a94144 /paste/recursive.py | |
parent | 1d3b1dc603fbba824ab32151b2f953cee63d6e54 (diff) | |
download | paste-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.py | 5 |
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) |