summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-06 16:05:01 +0000
committerErik Johnston <erik@matrix.org>2015-01-06 16:05:01 +0000
commitd5ae67e67d90e745b8eb06661af60370c68f813b (patch)
tree08146556a2111cba142bdbeacead137fb280d79f
parentOnly fetch the columns we need. (diff)
downloadsynapse-d5ae67e67d90e745b8eb06661af60370c68f813b.tar.xz
Fix typo where we used wrong var.
-rw-r--r--synapse/util/logutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/logutils.py b/synapse/util/logutils.py

index c4dfb69c51..fd9ac4d4d4 100644 --- a/synapse/util/logutils.py +++ b/synapse/util/logutils.py
@@ -102,7 +102,7 @@ def time_function(f): _log_debug_as_f( f, "[FUNC START] {%s-%d}", - (func_name, _TIME_FUNC_ID), + (func_name, id), ) r = f(*args, **kwargs) @@ -111,7 +111,7 @@ def time_function(f): _log_debug_as_f( f, "[FUNC END] {%s-%d} %f", - (func_name, _TIME_FUNC_ID, end-start,), + (func_name, id, end-start,), ) return r