Statement.get_assignment_details -> get_commands (makes more sense)

This commit is contained in:
David Halter committed 2013-02-08 16:19:05 +01:00
1 parent d6257fffc8
commit 70f07320aa
7 files changed
+43 -44

No files matched your search

+2 -2
View File
@@ -355,9 +355,9 @@ class Script(object):
if user_stmt is None \
or not isinstance(user_stmt, pr.Statement):
return None, 0
ass = helpers.fast_parent_copy(user_stmt.get_assignment_calls())
commands = helpers.fast_parent_copy(user_stmt.get_commands())
call, index, stop = helpers.search_function_call(ass, self.pos)
call, index, stop = helpers.search_function_call(commands, self.pos)
return call, index
def check_cache():