mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-02 02:03:21 +08:00
small debug change
This commit is contained in:
@@ -48,8 +48,10 @@ def increase_indent(func):
|
||||
def wrapper(*args, **kwargs):
|
||||
global _debug_indent
|
||||
_debug_indent += 1
|
||||
result = func(*args, **kwargs)
|
||||
_debug_indent -= 1
|
||||
try:
|
||||
result = func(*args, **kwargs)
|
||||
finally:
|
||||
_debug_indent -= 1
|
||||
return result
|
||||
return wrapper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user