From b1bd630a373c9ef4e281a2898d184153adda96c3 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 17 May 2019 23:39:26 +0200 Subject: [PATCH] Make it possible to use error for debugging --- jedi/debug.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jedi/debug.py b/jedi/debug.py index 02719290..435a2e43 100644 --- a/jedi/debug.py +++ b/jedi/debug.py @@ -108,6 +108,9 @@ def warning(message, *args, **kwargs): debug_function('RED', i + 'warning: ' + message) +error = warning # Just for compatibility with logging. + + def speed(name): if debug_function and enable_speed: now = time.time()