Fix ObjectInterface __getattr__ making objects that don't override return None rather than raising an AttributeError.

This commit is contained in:
Mike Auty
2018-08-17 10:52:48 +01:00
parent 218567c228
commit 981d333195
@@ -108,10 +108,6 @@ class ObjectInterface(validity.ValidityRoutines, metaclass = ABCMeta):
Raises InvalidDataException on failure to validate the data correctly.
"""
def __getattr__(self, attr: str) -> typing.Any:
"""Method for ensuring volatility members can be returned"""
pass
def get_symbol_table(self) -> typing.Optional['interfaces.symbols.SymbolTableInterface']:
"""Returns the symbol table for this particular object