def build_set_openable(self, args):
        boolean = to_bool(args[0])
        if not boolean:
            return 'Acceptable values are true or false.'
        else:
            self.openable = boolean
            self.save()
            if self.linked_exit:
                self.to_room.exits[self.linked_exit].openable = boolean
                self.to_room.exits[self.linked_exit].save()
            return str(boolean) % 'Exit attribute "openable" is now %s.\n'
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/room_exit.py/RoomExit.build_set_openable/swapped operands of `%`