0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-06 19:28:46 +02:00
This commit is contained in:
Erik Johnston 2016-02-03 11:52:57 +00:00
parent 772b45c745
commit 9cd80a7b5c

View file

@ -932,7 +932,7 @@ class RoomListHandler(BaseHandler):
defer.returnValue(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([
handle_room(room_id)
for room_id in chunk