diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-06 16:05:01 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-06 16:05:01 +0000 |
commit | d5ae67e67d90e745b8eb06661af60370c68f813b (patch) | |
tree | 08146556a2111cba142bdbeacead137fb280d79f /synapse/util | |
parent | Only fetch the columns we need. (diff) | |
download | synapse-d5ae67e67d90e745b8eb06661af60370c68f813b.tar.xz |
Fix typo where we used wrong var.
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/logutils.py | 4 |
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 |