summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-03 11:52:57 +0000
committerErik Johnston <erik@matrix.org>2016-02-03 11:52:57 +0000
commit9cd80a7b5c62d2687fd4a2e6481a7701b6d782c5 (patch)
tree8a897cfbf6ecd7faee8d2a3c841888c123b3d95f
parentRemove unused method (diff)
downloadsynapse-9cd80a7b5c62d2687fd4a2e6481a7701b6d782c5.tar.xz
PEP8
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 42581289ef..bfd7e44e9f 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -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