summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-01-26 00:15:10 +0000
committerNeil Johnson <neil@fragile.org.uk>2018-01-26 00:15:10 +0000
commit73560237d646835197e07e9e6c50674786a79a28 (patch)
treec4cc671514851ba93e231832d2f761ed5b64173e /synapse/handlers
parentrather than try reconstruct the results object, better to guard against the x... (diff)
downloadsynapse-73560237d646835197e07e9e6c50674786a79a28.tar.xz
add white space line
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_list.py1
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]