summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-28 16:45:57 +0000
committerMark Haines <mark.haines@matrix.org>2015-10-28 16:45:57 +0000
commita89b86dc473f5dc41a17207a17165b27d8f599ea (patch)
tree135047233f3047738b6dc93e3826aa3c4aafe000 /synapse/rest
parentAdd APIs for adding and removing tags from rooms (diff)
downloadsynapse-a89b86dc473f5dc41a17207a17165b27d8f599ea.tar.xz
Fix pyflakes errors
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/tags.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/tags.py b/synapse/rest/client/v2_alpha/tags.py
index c4a670c5a7..15c9347fc1 100644
--- a/synapse/rest/client/v2_alpha/tags.py
+++ b/synapse/rest/client/v2_alpha/tags.py
@@ -16,6 +16,7 @@
 from ._base import client_v2_pattern
 
 from synapse.http.servlet import RestServlet
+from synapse.api.errors import AuthError
 
 from twisted.internet import defer
 
@@ -56,6 +57,7 @@ class TagServlet(RestServlet):
     PATTERN = client_v2_pattern(
         "/user/(?P<user_id>[^/]*)/rooms/(?P<room_id>[^/]*)/tags/(?P<tag>[^/]*)"
     )
+
     def __init__(self, hs):
         super(TagServlet, self).__init__()
         self.auth = hs.get_auth()