mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
PEP8
This commit is contained in:
parent
772b45c745
commit
9cd80a7b5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user