mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 14:43:51 +01:00
PEP8
This commit is contained in:
parent
772b45c745
commit
9cd80a7b5c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue