PEP8 and pyflakes warnings

pull/39/head
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

@ -623,7 +623,7 @@ class FederationHandler(BaseHandler):
raise AuthError(403, "Host not in room.")
events = yield self.store.get_backfill_events(
context,
room_id,
pdu_list,
limit
)

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?