summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools')
-rw-r--r--wsgitools/filters.py2
-rw-r--r--wsgitools/scgi/forkpool.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py
index ed976a2..60e4ebb 100644
--- a/wsgitools/filters.py
+++ b/wsgitools/filters.py
@@ -81,7 +81,6 @@ class BaseWSGIFilter(object):
"""This constructor does nothing and can safely be overwritten. It is
only listed here to document that it must be callable without additional
parameters."""
- pass
def filter_environ(self, environ):
"""Receives a dict with the environment passed to the wsgi application
and a C{dict} must be returned. The default is to return the same dict.
@@ -137,7 +136,6 @@ class BaseWSGIFilter(object):
return []
def handle_close(self):
"""This method is invoked after the request has finished."""
- pass
__all__.append("WSGIFilterMiddleware")
class WSGIFilterMiddleware(object):
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py
index 20943fc..361fb40 100644
--- a/wsgitools/scgi/forkpool.py
+++ b/wsgitools/scgi/forkpool.py
@@ -153,7 +153,6 @@ class SocketFileWrapper(object):
return self.__next__()
def flush(self):
"""see pep333"""
- pass
def write(self, data):
"""see pep333"""
assert isinstance(data, bytes)