def rm_attr(self, obj, attr):
        if obj.attributes.has(attr):
            val = obj.attributes.has(attr)
            obj.attributes.remove(attr)
            return "\nDeleted attribute '%s' (= %s) from %s." % (attr, val, obj.name)
        else:
            return "\n%s has no attribute '%s'." % (obj.name, attr)
Remove an attribute from the object, and report back.
dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdSetAttribute.rm_attr