diff options
author | David Baker <dbkr@matrix.org> | 2014-11-20 18:17:46 +0000 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-11-20 18:17:46 +0000 |
commit | 23465a30b65808a75afa5cb98bcd1131a2a2c984 (patch) | |
tree | dcd987034fefbb2649da8346bf36c9d9ded25acc /synapse/util/__init__.py | |
parent | Merge branch 'http_client_refactor' into pushers (diff) | |
parent | Fix pep8 codestyle warnings (diff) | |
download | synapse-23465a30b65808a75afa5cb98bcd1131a2a2c984.tar.xz |
Merge branch 'develop' into pushers
Diffstat (limited to 'synapse/util/__init__.py')
-rw-r--r-- | synapse/util/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/__init__.py b/synapse/util/__init__.py index e57fb0e914..7ec5033ceb 100644 --- a/synapse/util/__init__.py +++ b/synapse/util/__init__.py @@ -37,6 +37,7 @@ class Clock(object): def call_later(self, delay, callback): current_context = LoggingContext.current_context() + def wrapped_callback(): LoggingContext.thread_local.current_context = current_context callback() |