forked from VimPlug/jedi
small debug change
This commit is contained in:
@@ -48,7 +48,9 @@ def increase_indent(func):
|
|||||||
def wrapper(*args, **kwargs):
|
def wrapper(*args, **kwargs):
|
||||||
global _debug_indent
|
global _debug_indent
|
||||||
_debug_indent += 1
|
_debug_indent += 1
|
||||||
|
try:
|
||||||
result = func(*args, **kwargs)
|
result = func(*args, **kwargs)
|
||||||
|
finally:
|
||||||
_debug_indent -= 1
|
_debug_indent -= 1
|
||||||
return result
|
return result
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|||||||
Reference in New Issue
Block a user