summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/persistence.py2
-rw-r--r--synapse/federation/units.py3
2 files changed, 0 insertions, 5 deletions
diff --git a/synapse/federation/persistence.py b/synapse/federation/persistence.py
index b04fbb4177..73dc844d59 100644
--- a/synapse/federation/persistence.py
+++ b/synapse/federation/persistence.py
@@ -21,8 +21,6 @@ These actions are mostly only used by the :py:mod:`.replication` module.
 
 from twisted.internet import defer
 
-from .units import Pdu
-
 from synapse.util.logutils import log_function
 
 import json
diff --git a/synapse/federation/units.py b/synapse/federation/units.py
index c2d8dca8f3..9b25556707 100644
--- a/synapse/federation/units.py
+++ b/synapse/federation/units.py
@@ -18,11 +18,8 @@ server protocol.
 """
 
 from synapse.util.jsonobject import JsonEncodedObject
-from syutil.base64util import encode_base64
 
 import logging
-import json
-import copy
 
 
 logger = logging.getLogger(__name__)