cleaning / pep8

This commit is contained in:
David Halter
2012-08-23 14:45:29 +02:00
parent 793797ca5c
commit e28d7f0cdf
7 changed files with 14 additions and 13 deletions

View File

@@ -111,6 +111,7 @@ def search_params(param):
return result
def check_array_additions(array):
""" Just a mapper function for the internal _check_array_additions """
if array._array.type not in ['list', 'set']:
@@ -187,7 +188,6 @@ def _check_array_additions(compare_array, module, is_list):
continue
ass = stmt.get_assignment_calls()
new_calls = scan_array(ass, add_name)
#print [c.start_pos for c in new_calls], stmt.start_pos
result += check_calls(new_calls, add_name)
evaluate.follow_statement.pop_stmt()
continue