micropython/table.py | raw changeset files shortlog |
1.1 --- a/micropython/table.py Thu Jun 02 23:08:17 2011 +0200 1.2 +++ b/micropython/table.py Fri Jun 03 01:30:35 2011 +0200 1.3 @@ -400,7 +400,10 @@ 1.4 if not attributes.has_key(name): 1.5 continue 1.6 1.7 - if attributes[name].is_static_attribute(): 1.8 + attr = attributes[name] 1.9 + if isinstance(attr, (Class, Module)): 1.10 + pass 1.11 + elif attr.is_static_attribute(): 1.12 is_static = 1 1.13 else: 1.14 is_instance = 1