obspy.core.event.magnitude.Magnitude.__getattr__

Magnitude.__getattr__(name, default=None)

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