obspy.core.trace.Stats.__getattr__

Stats.__getattr__(name, default=None)

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