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/wsgilib.py | |
parent | dc929a2a6569b1ec4d30e5ba4f3741c07c47b4ce (diff) | |
download | paste-c3489449893fc6facc58dd06a2ea13091d9096fa.tar.gz |
convert old-style classes to new-style classes
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r-- | paste/wsgilib.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py index 82a91f0..5860fbd 100644 --- a/paste/wsgilib.py +++ b/paste/wsgilib.py @@ -27,7 +27,7 @@ __all__ = ['get_cookies', 'add_close', 'raw_interactive', 'chained_app_iters'] -class add_close: +class add_close(object): """ An an iterable that iterates over app_iter, then calls close_func. @@ -59,7 +59,7 @@ class add_close: "WSGI request. finalization function %s not called" % self.close_func) -class add_start_close: +class add_start_close(object): """ An an iterable that iterates over app_iter, calls start_func before the first item is returned, then calls close_func at the @@ -98,7 +98,7 @@ class add_start_close: "WSGI request. finalization function %s not called" % self.close_func) -class chained_app_iters: +class chained_app_iters(object): """ Chains several app_iters together, also delegating .close() to each @@ -143,7 +143,7 @@ class chained_app_iters: "WSGI request. finalization function %s not called" % self.close_func) -class encode_unicode_app_iter: +class encode_unicode_app_iter(object): """ Encodes an app_iterable's unicode responses as strings """ |