diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-11-20 17:26:36 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-11-20 17:26:36 +0000 |
commit | db9ce032a4223f44ff0d823f36515cefbb534bf5 (patch) | |
tree | 95dfbfaac7947c2c7d575c8e6a825dadf8d0d4c9 /synapse/handlers/room.py | |
parent | Use module loggers rather than the root logger. Exceptions caused by bad clie... (diff) | |
download | synapse-db9ce032a4223f44ff0d823f36515cefbb534bf5.tar.xz |
Fix pep8 codestyle warnings
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 7252051744..88955160c5 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -178,7 +178,9 @@ class RoomCreationHandler(BaseHandler): if room_alias: result["room_alias"] = room_alias.to_string() - yield directory_handler.send_room_alias_update_event(user_id, room_id) + yield directory_handler.send_room_alias_update_event( + user_id, room_id + ) defer.returnValue(result) @@ -211,7 +213,6 @@ class RoomCreationHandler(BaseHandler): **event_keys ) - power_levels_event = self.event_factory.create_event( etype=RoomPowerLevelsEvent.TYPE, content={ |