1
0
forked from VimPlug/jedi

Fix generators.

This commit is contained in:
Dave Halter
2014-11-14 02:05:25 +01:00
parent 13a128b160
commit 278bc9d705
4 changed files with 19 additions and 6 deletions

View File

@@ -100,12 +100,12 @@ class _RecursionNode(object):
def execution_recursion_decorator(func):
def run(execution):
def run(execution, **kwargs):
detector = execution._evaluator.execution_recursion_detector
if detector.push_execution(execution):
result = []
else:
result = func(execution)
result = func(execution, **kwargs)
detector.pop_execution()
return result