summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-07-31 13:24:51 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-07-31 13:24:51 +0100
commit58a755cdc36d94fa25c086576748bf44d978cf5e (patch)
treea34fcbdb6d6f9a90e3a00d4fd5adc47e64c641d3 /synapse/handlers/directory.py
parentMerge pull request #5794 from matrix-org/erikj/share_ssl_options_for_well_known (diff)
downloadsynapse-58a755cdc36d94fa25c086576748bf44d978cf5e.tar.xz
Remove duplicate return statement
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index 0fd423197c..526379c6f7 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -278,7 +278,6 @@ class DirectoryHandler(BaseHandler):
             servers = list(servers)
 
         return {"room_id": room_id, "servers": servers}
-        return
 
     @defer.inlineCallbacks
     def on_directory_query(self, args):