Commit 89e7e32c authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash

parent b9546d12
...@@ -241,6 +241,9 @@ class InnerEntry(Entry): ...@@ -241,6 +241,9 @@ class InnerEntry(Entry):
self.inner_entries.append(self) self.inner_entries.append(self)
def __getattr__(self, name): def __getattr__(self, name):
if name.startswith('__'):
# we wouldn't have been called if it was there
raise AttributeError(name)
return getattr(self.defining_entry, name) return getattr(self.defining_entry, name)
def all_entries(self): def all_entries(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment