1.1 --- a/micropython/trans.py Sat Jun 09 19:53:00 2012 +0200
1.2 +++ b/micropython/trans.py Sat Jun 09 23:24:18 2012 +0200
1.3 @@ -49,11 +49,11 @@
1.4 target_name, is_static = list(targets)[0]
1.5
1.6 # Access the object table to get the attribute.
1.7 - # NOTE: This depends on the special entry in the table
1.8 - # NOTE: for class equivalence tests.
1.9 + # This depends on a special entry in the table for class
1.10 + # equivalence tests.
1.11
1.12 try:
1.13 - obj = self.objtable.access(target_name, "#" + target_name)
1.14 + obj = self.objtable.get_object(target_name)
1.15
1.16 # Where no attribute entry exists, the target could be a module.
1.17 # NOTE: Should perhaps raise an error.