summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-03-11 07:06:21 -0500
committerGitHub <noreply@github.com>2022-03-11 07:06:21 -0500
commitbc9dff1d9597251a15a15475cb8e8194b2d14910 (patch)
tree1ce61e281d4720fb6f9428e69a87095b35352a44 /synapse/http
parentNote that contributors can sign off privately (#12204) (diff)
downloadsynapse-bc9dff1d9597251a15a15475cb8e8194b2d14910.tar.xz
Remove unnecessary pass statements. (#12206)
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py2
-rw-r--r--synapse/http/server.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py

index 40bf1e06d6..6b98d865f5 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py
@@ -120,7 +120,6 @@ class ByteParser(ByteWriteable, Generic[T], abc.ABC): """Called when response has finished streaming and the parser should return the final result (or error). """ - pass @attr.s(slots=True, frozen=True, auto_attribs=True) @@ -601,7 +600,6 @@ class MatrixFederationHttpClient: response.code, response_phrase, ) - pass else: logger.info( "{%s} [%s] Got response headers: %d %s", diff --git a/synapse/http/server.py b/synapse/http/server.py
index 09b4125489..31ca841889 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py
@@ -233,7 +233,6 @@ class HttpServer(Protocol): servlet_classname (str): The name of the handler to be used in prometheus and opentracing logs. """ - pass class _AsyncResource(resource.Resource, metaclass=abc.ABCMeta):