micropython/common.py | raw changeset files shortlog | syspython-as-target |
1.1 --- a/micropython/common.py Mon Jul 01 00:47:43 2013 +0200 1.2 +++ b/micropython/common.py Mon Jul 01 02:10:23 2013 +0200 1.3 @@ -237,7 +237,7 @@ 1.4 program unit within which it is found. 1.5 """ 1.6 1.7 - return node.unit and node.unit.parent.has_key(node.unit.name) 1.8 + return node.unit and node.unit.parent.has_key(node.unit.original_name) 1.9 1.10 # Useful data. 1.11