def __delattr__(self, attr):
        try:
            if super(AuxAttr, self).__getattribute__(attr):
                return super(AuxAttr, self).__delattr__(attr)
        except __HOLE__:
            pass
        if hasattr(self, attr):
            self.cache.pop(attr)
            kv = self.KVClass.objects.get(**{'key': attr, 'obj':
                                             self.obj})
            kv.delete()
            return
        else:
            raise AttributeError("{0} AuxAttr has no attribute "
                                 "{1}".format(self.KVClass, attr))
dataset/ETHPy150Open mozilla/inventory/core/keyvalue/utils.py/AuxAttr.__delattr__