summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-17 18:09:22 +0100
committerErik Johnston <erik@matrix.org>2016-09-17 18:09:22 +0100
commit4d49e0bdfd01fcd4f3cad580e3ca1184c432c9ff (patch)
tree8b41df6115e14a0bb825f1f3e5b06b45acaae5ea /synapse
parentHandle fact that _generate_room_entry may not return a room entry (diff)
downloadsynapse-4d49e0bdfd01fcd4f3cad580e3ca1184c432c9ff.tar.xz
PEP8
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index 45a689ef2c..a9558e6314 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -140,7 +140,7 @@ class RoomListHandler(BaseHandler):
         chunk = []
         if limit and not search_filter:
             step = limit + 1
-            for i in xrange(0 , len(rooms_to_scan), step):
+            for i in xrange(0, len(rooms_to_scan), step):
                 # We iterate here because the vast majority of cases we'll stop
                 # at first iteration, but occaisonally _generate_room_entry
                 # won't append to the chunk and so we need to loop again.