diff options
author | David Baker <dbkr@matrix.org> | 2014-11-20 17:49:48 +0000 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-11-20 17:49:48 +0000 |
commit | f1c7f8e8131d6e5531e23e3bc2cd57ab7d1881ae (patch) | |
tree | b1ebd402c0805f475500c9f36a0356322bf26f13 /synapse/handlers/directory.py | |
parent | Separate out the matrix http client completely because just about all of its ... (diff) | |
parent | Fix pep8 codestyle warnings (diff) | |
download | synapse-f1c7f8e8131d6e5531e23e3bc2cd57ab7d1881ae.tar.xz |
Merge branch 'develop' into http_client_refactor
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 05e5c6ecfc..af4e7d49c8 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -128,8 +128,9 @@ class DirectoryHandler(BaseHandler): "servers": result.servers, }) else: - raise SynapseError(404, "Room alias \"%s\" not found" % (room_alias,)) - + raise SynapseError( + 404, "Room alias \"%s\" not found" % (room_alias,) + ) @defer.inlineCallbacks def send_room_alias_update_event(self, user_id, room_id): |