diff options
Diffstat (limited to 'wsgitools/filters.py')
-rw-r--r-- | wsgitools/filters.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py index 7ae1b69..d691f74 100644 --- a/wsgitools/filters.py +++ b/wsgitools/filters.py @@ -24,7 +24,7 @@ except NameError: return it.next() __all__.append("CloseableIterator") -class CloseableIterator: +class CloseableIterator(object): """Concatenating iterator with close attribute.""" def __init__(self, close_function, *iterators): """If close_function is not C{None}, it will be the C{close} attribute @@ -68,7 +68,7 @@ class CloseableList(list): list.__iter__(self)) __all__.append("BaseWSGIFilter") -class BaseWSGIFilter: +class BaseWSGIFilter(object): """Generic WSGI filter class to be used with L{WSGIFilterMiddleware}. For each request a filter object gets created. @@ -147,7 +147,7 @@ class BaseWSGIFilter: pass __all__.append("WSGIFilterMiddleware") -class WSGIFilterMiddleware: +class WSGIFilterMiddleware(object): """This wsgi middleware can be used with specialized L{BaseWSGIFilter}s to modify wsgi requests and/or reponses.""" def __init__(self, app, filterclass): |