1.1 --- a/micropython/report.py Mon Jul 01 12:57:30 2013 +0200
1.2 +++ b/micropython/report.py Tue Jul 02 00:51:04 2013 +0200
1.3 @@ -568,8 +568,7 @@
1.4
1.5 # ...and instance attribute names in order...
1.6
1.7 - attrs = obj.instance_attributes().values()
1.8 - attrs.sort(cmp=lambda x, y: cmp(x.position, y.position))
1.9 + attrs = obj.instance_attributes_as_list()
1.10
1.11 if attrs:
1.12 for attr in attrs:
1.13 @@ -582,8 +581,7 @@
1.14
1.15 # ...and class attribute names in order.
1.16
1.17 - attrs = obj.class_attributes().values()
1.18 - attrs.sort(cmp=lambda x, y: cmp(x.position, y.position))
1.19 + attrs = obj.attributes_as_list()
1.20
1.21 if attrs:
1.22 for attr in attrs: