summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-04 14:14:02 +0000
committerErik Johnston <erik@matrix.org>2014-11-04 14:14:02 +0000
commitaa76bf39aba2eadf506f57952a1dffce629f2637 (patch)
tree1d976ad45f0a59d86001cee0448c4cfb452ef51d /synapse/federation
parentFix bugs in generating event signatures and hashing (diff)
downloadsynapse-aa76bf39aba2eadf506f57952a1dffce629f2637.tar.xz
Remove unused imports
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__)