summary refs log tree commit diff
path: root/synapse/storage/events_worker.py
diff options
context:
space:
mode:
authorAdrian Tschira <nota@notafile.com>2018-05-05 22:47:18 +0200
committerAdrian Tschira <nota@notafile.com>2018-05-24 20:20:33 +0200
commit17a70cf6e9ae016011972b4d8a97aca0c3d945d4 (patch)
treeb52681195451515f4fd2a5f4fe441030425b4934 /synapse/storage/events_worker.py
parentMerge pull request #3278 from NotAFile/py3-storage-base (diff)
downloadsynapse-17a70cf6e9ae016011972b4d8a97aca0c3d945d4.tar.xz
Misc. py3 fixes
Signed-off-by: Adrian Tschira <nota@notafile.com>
Diffstat (limited to 'synapse/storage/events_worker.py')
-rw-r--r--synapse/storage/events_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index ba834854e1..32d9d00ffb 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -337,7 +337,7 @@ class EventsWorkerStore(SQLBaseStore):
     def _fetch_event_rows(self, txn, events):
         rows = []
         N = 200
-        for i in range(1 + len(events) / N):
+        for i in range(1 + len(events) // N):
             evs = events[i * N:(i + 1) * N]
             if not evs:
                 break