obspy.core.event.magnitude.StationMagnitude.__getattr__

StationMagnitude.__getattr__(name, default=None)

Py3k hasattr() expects an AttributeError no KeyError to be raised if the attribute is not found.