obspy.core.event.base.QuantityError.__getattr__

QuantityError.__getattr__(name, default=None)

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