micropython/ast.py | raw changeset files shortlog |
1.1 --- a/micropython/ast.py Mon Nov 23 01:22:06 2009 +0100 1.2 +++ b/micropython/ast.py Tue Nov 24 00:40:49 2009 +0100 1.3 @@ -501,7 +501,7 @@ 1.4 1.5 "Assign the assignment expression to the recipient 'node'." 1.6 1.7 - if node.flags == "OP_DELETE": 1.8 + if hasattr(node, "flags") and node.flags == "OP_DELETE": 1.9 raise TranslationNotImplementedError(self.module.full_name(), node, "AssName(OP_DELETE)") 1.10 1.11 self._visitName(node, self.name_store_instructions)