1
0
forked from VimPlug/jedi

ExecutedParams should never be additionally faked, even if they are the first params. They have been legitimately created by a caller.

This commit is contained in:
Dave Halter
2014-06-30 15:22:53 +02:00
parent 0d3ea4dfb4
commit 0b99473886
4 changed files with 18 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class RecursionDetector(object):
def push_stmt(self, stmt):
self.current = _RecursionNode(stmt, self.current)
check = self._check_recursion()
if check: # TODO remove False!!!!
if check:
debug.warning('catched stmt recursion: %s against %s @%s', stmt,
check.stmt, stmt.start_pos)
self.pop_stmt()