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): ...@@ -161,13 +161,12 @@ class FakeStreamRequest(object):
""" """
return self._rfile if 'r' in mode else self._wfile return self._rfile if 'r' in mode else self._wfile
# pylint: disable=unused-argument
def sendall(self, data, flags=None): # pragma: no cover def sendall(self, data, flags=None): # pragma: no cover
""" """
Redirect sendall. Redirect sendall.
""" """
_ = flags # Silence pylint
self._wfile.write(data) self._wfile.write(data)
# pylint: enable=unused-argument
class NoCloseFileProxy(object): class NoCloseFileProxy(object):
""" """
......
...@@ -963,14 +963,11 @@ class Application(object): ...@@ -963,14 +963,11 @@ class Application(object):
[], [],
) )
def getCertificateRevocationList( def getCertificateRevocationList(self, context, environ):
self,
context,
environ,
): # pylint: disable=unused-argument
""" """
Handle GET /{context}/crl . Handle GET /{context}/crl .
""" """
_ = environ # Silence pylint
return self._returnFile( return self._returnFile(
context.getCertificateRevocationList(), context.getCertificateRevocationList(),
'application/pkix-crl', '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