1.1 --- a/micropython/data.py Sun Mar 17 23:50:35 2013 +0100
1.2 +++ b/micropython/data.py Sun Mar 17 23:51:29 2013 +0100
1.3 @@ -509,7 +509,7 @@
1.4 # parent.
1.5
1.6 for context in self.get_contexts():
1.7 - if not (
1.8 + if (
1.9 isinstance(context, Class) and not (
1.10 context is self.parent or
1.11 context.has_subclass(self.parent) or
1.12 @@ -522,7 +522,7 @@
1.13 # Instance attributes are not defined within a hierarchy.
1.14
1.15 else:
1.16 - return False
1.17 + return True
1.18
1.19 def __repr__(self):
1.20 if self.position is not None: