summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-02 17:18:50 +0000
committerreview.rocks <nobody@review.rocks>2016-02-02 17:18:50 +0000
commitd83d004ccdb7ace1dcb51b8acf7645bc176b10a5 (patch)
tree009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/storage/stream.py
parentMerge pull request #549 from matrix-org/erikj/sync (diff)
downloadsynapse-d83d004ccdb7ace1dcb51b8acf7645bc176b10a5.tar.xz
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 338a9d40d5..2c49a5e499 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -168,7 +168,7 @@ class StreamStore(SQLBaseStore):
 
         results = {}
         room_ids = list(room_ids)
-        for rm_ids in (room_ids[i:i+20] for i in xrange(0, len(room_ids), 20)):
+        for rm_ids in (room_ids[i:i + 20] for i in xrange(0, len(room_ids), 20)):
             res = yield defer.gatherResults([
                 self.get_room_events_stream_for_room(
                     room_id, from_key, to_key, limit