fixed assignment_detail parsing if tuples were used before =

This commit is contained in:
David Halter committed 2013-02-08 17:58:27 +01:00
1 parent 70f07320aa
commit bd393883b6
2 files changed
+36 -21

No files matched your search

+1
View File
@@ -546,6 +546,7 @@ def follow_statement(stmt, seek_name=None):
# Assignment checking is only important if the statement defines multiple
# variables.
print(seek_name, stmt, stmt.assignment_details)
if len(stmt.get_set_vars()) > 1 and seek_name and stmt.assignment_details:
new_result = []
for op, set_vars in stmt.assignment_details: