summary refs log tree commit diff
path: root/synapse/storage/events_worker.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-01-30 10:53:17 +0000
committerGitHub <noreply@github.com>2019-01-30 10:53:17 +0000
commit3f189c902ea1146a497512049aa38fe9a0a91169 (patch)
treea5681bf0f6c239cb453e51a5442bc363a52bd60c /synapse/storage/events_worker.py
parentMerge pull request #4486 from xperimental/workaround-4216 (diff)
downloadsynapse-3f189c902ea1146a497512049aa38fe9a0a91169.tar.xz
Fix flake8 (#4519)
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 ebe1429acb..57dae324c7 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -220,7 +220,7 @@ class EventsWorkerStore(SQLBaseStore):
         defer.returnValue(events)
 
     def _invalidate_get_event_cache(self, event_id):
-            self._get_event_cache.invalidate((event_id,))
+        self._get_event_cache.invalidate((event_id,))
 
     def _get_events_from_cache(self, events, allow_rejected, update_metrics=True):
         """Fetch events from the caches