PEP8 and pyflakes warnings

This commit is contained in:
Kegan Dougal 2015-01-07 16:18:12 +00:00
parent a09882de83
commit 333836ff92
2 changed files with 4 additions and 2 deletions

View file

@ -428,7 +428,9 @@ class RoomMemberHandler(BaseHandler):
if not is_host_in_room:
# is *anyone* in the room?
room_member_keys = [
v for (k,v) in context.current_state.keys() if k == "m.room.member"
v for (k, v) in context.current_state.keys() if (
k == "m.room.member"
)
]
if len(room_member_keys) == 0:
# has the room been created so we can join it?