diff options
author | pjenvey <devnull@localhost> | 2007-01-05 03:18:34 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2007-01-05 03:18:34 +0000 |
commit | c3489449893fc6facc58dd06a2ea13091d9096fa (patch) | |
tree | 94c8bd85450992880b8796ab592896c56d69e69c /paste/errordocument.py | |
parent | dc929a2a6569b1ec4d30e5ba4f3741c07c47b4ce (diff) | |
download | paste-c3489449893fc6facc58dd06a2ea13091d9096fa.tar.gz |
convert old-style classes to new-style classes
Diffstat (limited to 'paste/errordocument.py')
-rw-r--r-- | paste/errordocument.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/errordocument.py b/paste/errordocument.py index f776633..90bda8a 100644 --- a/paste/errordocument.py +++ b/paste/errordocument.py @@ -83,7 +83,7 @@ class StatusKeeper(object): #raise Exception(self.url, self.status) return self.app(environ, keep_status_start_response) -class StatusBasedForward: +class StatusBasedForward(object): """ Middleware that lets you test a response against a custom mapper object to programatically determine whether to internally forward to another URL and @@ -241,7 +241,7 @@ def custom_forward(app, mapper, global_conf=None, **kw): global_conf = {} return _StatusBasedRedirect(app, mapper, global_conf, **kw) -class _StatusBasedRedirect: +class _StatusBasedRedirect(object): """ Deprectated; use StatusBasedForward instead. """ |