def remove_from_enable_table(self, mode):

        if self.debug:
            self.log.debug("Removing mode: %s from enable_table", mode)

        try:
            del self.enable_table[mode]
            self._sort_enable_table()
        except __HOLE__:
            pass
dataset/ETHPy150Open missionpinball/mpf/mpf/devices/shot.py/Shot.remove_from_enable_table