summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-03-09 17:12:22 +0100
committerHelmut Grohne <helmut@subdivi.de>2020-03-09 17:12:22 +0100
commit7e33d2098c5017d10bfd96185dc5db460f8428a1 (patch)
tree060b7f8bb95d00dc66fb1e09119483be799064d2
parente2aacb79e676b8f922f6f483316d251db317d2b6 (diff)
downloadwsgitools-7e33d2098c5017d10bfd96185dc5db460f8428a1.tar.gz
remove unnecessary pass statements
Reported-by: pylint
-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)