diff options
Diffstat (limited to 'wsgitools')
-rw-r--r-- | wsgitools/filters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py index fbcfe5c..0cca3b4 100644 --- a/wsgitools/filters.py +++ b/wsgitools/filters.py @@ -30,7 +30,7 @@ class CloseableIterator: except StopIteration: self.iterators.pop(0) return self.next() - + __all__.append("CloseableList") class CloseableList(list): """A list with a close attribute.""" @@ -126,7 +126,7 @@ class WSGIFilterMiddleware: exc_info = filter.filter_exc_info(exc_info) status = filter.filter_status(status) headers = (filter.filter_header(h, v) for h, v in headers) - headers = [h for h in headers if h is not None] + headers = [h for h in headers if h is not None] headers = filter.filter_headers(headers) write = start_response(status, headers, exc_info) def modified_write(data): |