scan_statement -> scan_statement_for_calls

This commit is contained in:
Dave Halter
2014-01-07 15:10:19 +01:00
parent 359f3ed4a9
commit a74b7299e2
4 changed files with 8 additions and 8 deletions

View File

@@ -103,7 +103,7 @@ def search_params(evaluator, param):
for stmt in possible_stmts:
if isinstance(stmt, pr.Import):
continue
calls = helpers.scan_statement(stmt, func_name)
calls = helpers.scan_statement_for_calls(stmt, func_name)
for c in calls:
# no execution means that params cannot be set
call_path = list(c.generate_call_path())