def _purge_consumer_by_tag(self, consumer_tag):
        '''Purge consumer entry from this basic instance

        NOTE: this protected method may be called by derived classes

        :param str consumer_tag:
        '''
        try:
            del self._consumer_cb[consumer_tag]
        except __HOLE__:
            self.logger.warning(
                'no callback registered for consumer tag " %s "', consumer_tag)
        else:
            self.logger.info('purged consumer with tag " %s "', consumer_tag)
dataset/ETHPy150Open agoragames/haigha/haigha/classes/basic_class.py/BasicClass._purge_consumer_by_tag