diff options
author | Adrian Tschira <nota@notafile.com> | 2018-05-05 22:47:18 +0200 |
---|---|---|
committer | Adrian Tschira <nota@notafile.com> | 2018-05-24 20:20:33 +0200 |
commit | 17a70cf6e9ae016011972b4d8a97aca0c3d945d4 (patch) | |
tree | b52681195451515f4fd2a5f4fe441030425b4934 /synapse/storage/events_worker.py | |
parent | Merge pull request #3278 from NotAFile/py3-storage-base (diff) | |
download | synapse-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.py | 2 |
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 |