Skip to content
Snippets Groups Projects
Commit d5ae67e6 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix typo where we used wrong var.

parent fd9a8db7
Branches
Tags
No related merge requests found
...@@ -102,7 +102,7 @@ def time_function(f): ...@@ -102,7 +102,7 @@ def time_function(f):
_log_debug_as_f( _log_debug_as_f(
f, f,
"[FUNC START] {%s-%d}", "[FUNC START] {%s-%d}",
(func_name, _TIME_FUNC_ID), (func_name, id),
) )
r = f(*args, **kwargs) r = f(*args, **kwargs)
...@@ -111,7 +111,7 @@ def time_function(f): ...@@ -111,7 +111,7 @@ def time_function(f):
_log_debug_as_f( _log_debug_as_f(
f, f,
"[FUNC END] {%s-%d} %f", "[FUNC END] {%s-%d} %f",
(func_name, _TIME_FUNC_ID, end-start,), (func_name, id, end-start,),
) )
return r return r
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment