PEP8
parent
772b45c745
commit
9cd80a7b5c
|
@ -932,7 +932,7 @@ class RoomListHandler(BaseHandler):
|
||||||
defer.returnValue(result)
|
defer.returnValue(result)
|
||||||
|
|
||||||
result = []
|
result = []
|
||||||
for chunk in (room_ids[i:i+10] for i in xrange(0, len(room_ids), 10)):
|
for chunk in (room_ids[i:i + 10] for i in xrange(0, len(room_ids), 10)):
|
||||||
chunk_result = yield defer.gatherResults([
|
chunk_result = yield defer.gatherResults([
|
||||||
handle_room(room_id)
|
handle_room(room_id)
|
||||||
for room_id in chunk
|
for room_id in chunk
|
||||||
|
|
Loading…
Reference in New Issue