summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
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/matrixfederationclient.py
parentNote that contributors can sign off privately (#12204) (diff)
downloadsynapse-bc9dff1d9597251a15a15475cb8e8194b2d14910.tar.xz
Remove unnecessary pass statements. (#12206)
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 0 insertions, 2 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",