Commit 22f38236 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

pep8: Minor change.

Showing with 4 additions and 2 deletions
+4 -2
......@@ -121,7 +121,8 @@ def display_timers():
)
for func, time, calls in lst:
name = (f"{logger_color_blue()}{func.__module__}{logger_color_reset()}" +
name = (f"{logger_color_blue()}{func.__module__}" +
f"{logger_color_reset()}" +
f".{logger_color_green()}" +
f"{func.__qualname__:<{fmax - len(func.__module__)}}" +
f"{logger_color_reset()}")
......@@ -156,7 +157,8 @@ def timer(func):
)
logger.debug(
f"{logger_color_blue()}{e}{logger_color_reset()}\n" +
f"{logger_color_red()}{traceback.format_exc()}{logger_color_reset()}"
f"{logger_color_red()}{traceback.format_exc()}" +
f"{logger_color_reset()}"
)
end_time = time.perf_counter()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment