summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-04-17 13:23:16 +0100
committerDavid Baker <dave@matrix.org>2018-04-17 13:23:16 +0100
commit3add16df4977bd96021f1e481c6d0450a4b1d82b (patch)
tree14317a5965b4476ca3a0240569c190022149c0fa
parentDon't do profile repl if no repl targets (diff)
downloadsynapse-3add16df4977bd96021f1e481c6d0450a4b1d82b.tar.xz
pep8 again
-rw-r--r--synapse/handlers/profile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py

index 61496cd60c..8332771c15 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py
@@ -53,7 +53,9 @@ class ProfileHandler(BaseHandler): if len(self.hs.config.replicate_user_profiles_to) > 0: reactor.callWhenRunning(self._assign_profile_replication_batches) reactor.callWhenRunning(self._replicate_profiles) - self.clock.looping_call(self._replicate_profiles, self.PROFILE_REPLICATE_INTERVAL) + self.clock.looping_call( + self._replicate_profiles, self.PROFILE_REPLICATE_INTERVAL + ) @defer.inlineCallbacks def _assign_profile_replication_batches(self):