diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-01-26 00:15:10 +0000 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-01-26 00:15:10 +0000 |
commit | 73560237d646835197e07e9e6c50674786a79a28 (patch) | |
tree | c4cc671514851ba93e231832d2f761ed5b64173e /synapse/handlers/room_list.py | |
parent | rather than try reconstruct the results object, better to guard against the x... (diff) | |
download | synapse-73560237d646835197e07e9e6c50674786a79a28.tar.xz |
add white space line
Diffstat (limited to 'synapse/handlers/room_list.py')
-rw-r--r-- | synapse/handlers/room_list.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index cf62ead816..dfa09141ed 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -205,6 +205,7 @@ class RoomListHandler(BaseHandler): else: # step cannot be zero step = len(rooms_to_scan) if len(rooms_to_scan) != 0 else 1 + chunk = [] for i in xrange(0, len(rooms_to_scan), step): batch = rooms_to_scan[i:i + step] |