diff options
author | Daniel Wagner-Hall <dawagner@gmail.com> | 2016-02-02 17:18:54 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <dawagner@gmail.com> | 2016-02-02 17:18:54 +0000 |
commit | de11b5b9b5da286d2cb96f8ae5c18f6b55b9b460 (patch) | |
tree | 009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/handlers/directory.py | |
parent | Merge pull request #549 from matrix-org/erikj/sync (diff) | |
parent | Fix flake8 warnings for new flake8 (diff) | |
download | synapse-de11b5b9b5da286d2cb96f8ae5c18f6b55b9b460.tar.xz |
Merge pull request #551 from matrix-org/daniel/flake8
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 691564c651..4efecb1ffd 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -175,8 +175,8 @@ class DirectoryHandler(BaseHandler): # If this server is in the list of servers, return it first. if self.server_name in servers: servers = ( - [self.server_name] - + [s for s in servers if s != self.server_name] + [self.server_name] + + [s for s in servers if s != self.server_name] ) else: servers = list(servers) |