mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-18 02:24:09 -05:00
PEP8
This commit is contained in:
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…
x
Reference in New Issue
Block a user