summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-06 11:45:19 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-06 11:45:19 +0000
commit0995810273ddbc7e5e89b56ad3768fa8f0583bc4 (patch)
treec9d3c77e3d72b14dfa16e202e4e68924ca42c713 /synapse
parentGrant ASes the ability to delete aliases in their own namespace. (diff)
downloadsynapse-0995810273ddbc7e5e89b56ad3768fa8f0583bc4.tar.xz
Pyflakes: unused variable.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index c3c95996e7..22c6391a15 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -115,7 +115,7 @@ class DirectoryHandler(BaseHandler):
         if not self.hs.is_mine(room_alias):
             raise SynapseError(400, "Room alias must be local")
 
-        room_id = yield self.store.delete_room_alias(room_alias)
+        yield self.store.delete_room_alias(room_alias)
 
         # TODO - Looks like _update_room_alias_event has never been implemented
         # if room_id: