# HG changeset patch # User Paul Boddie # Date 1481578209 -3600 # Node ID f326b1d00b210f347c6e6aaa7f46a4495911478b # Parent 887f9d80a1370ec3279ba29ed79ee17bb9d94340 Set the current assignment to True rather than to a value that may be undefined. diff -r 887f9d80a137 -r f326b1d00b21 inspector.py --- a/inspector.py Mon Dec 12 19:31:52 2016 +0100 +++ b/inspector.py Mon Dec 12 22:30:09 2016 +0100 @@ -354,7 +354,7 @@ expr = self.process_structure_node(expr) in_assignment = self.in_assignment - self.in_assignment = expr + self.in_assignment = True self.process_attribute_access(n) self.in_assignment = in_assignment