summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-02-18 15:24:13 +0000
committerErik Johnston <erik@matrix.org>2019-02-18 15:24:13 +0000
commit94960cef037cac1361f42a4ab709b0693ba903ae (patch)
tree59ffce2d3929192ea845cac5e1114489bc71d3ba /synapse/handlers/device.py
parentNewsfile (diff)
downloadsynapse-94960cef037cac1361f42a4ab709b0693ba903ae.tar.xz
pep8
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index d9d65347bc..c708c35d4d 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -20,7 +20,11 @@ from twisted.internet import defer
 
 from synapse.api import errors
 from synapse.api.constants import EventTypes
-from synapse.api.errors import FederationDeniedError, RequestSendFailed
+from synapse.api.errors import (
+    FederationDeniedError,
+    HttpResponseException,
+    RequestSendFailed,
+)
 from synapse.types import RoomStreamToken, get_domain_from_id
 from synapse.util import stringutils
 from synapse.util.async_helpers import Linearizer