diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-08 16:32:56 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-08 16:33:01 +0100 |
commit | 4ac194159200e9cfb0020003409592e5324cbd18 (patch) | |
tree | 809b84bf3420d4a77edddf0d56bbfe2d970d20a5 /synapse/notifier.py | |
parent | Change the way we do logging contexts so that they survive divergences (diff) | |
download | synapse-4ac194159200e9cfb0020003409592e5324cbd18.tar.xz |
PEP8
Diffstat (limited to '')
-rw-r--r-- | synapse/notifier.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index fbbccb38e6..7282dfd7f3 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -16,7 +16,6 @@ from twisted.internet import defer from synapse.util.logutils import log_function -from synapse.util.logcontext import preserve_context_over_deferred from synapse.types import StreamToken import synapse.metrics @@ -224,8 +223,8 @@ class Notifier(object): logger.exception("Failed to notify listener", failure) yield defer.DeferredList( - [notify(l).addErrback(eb) for l in listeners], - consumeErrors=True, + [notify(l).addErrback(eb) for l in listeners], + consumeErrors=True, ) @defer.inlineCallbacks |