Commit 05ca7a95 authored by Vincent Pelletier's avatar Vincent Pelletier

pylint: Get rid of the last disable=unused-argument places.

parent 39cf48a0
......@@ -161,13 +161,12 @@ class FakeStreamRequest(object):
"""
return self._rfile if 'r' in mode else self._wfile
# pylint: disable=unused-argument
def sendall(self, data, flags=None): # pragma: no cover
"""
Redirect sendall.
"""
_ = flags # Silence pylint
self._wfile.write(data)
# pylint: enable=unused-argument
class NoCloseFileProxy(object):
"""
......
......@@ -963,14 +963,11 @@ class Application(object):
[],
)
def getCertificateRevocationList(
self,
context,
environ,
): # pylint: disable=unused-argument
def getCertificateRevocationList(self, context, environ):
"""
Handle GET /{context}/crl .
"""
_ = environ # Silence pylint
return self._returnFile(
context.getCertificateRevocationList(),
'application/pkix-crl',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment