#NEWLINE# def _purge_consumer_by_tag( self , consumer_tag ) : #NEWLINE# #INDENT# 'Purge consumer entry from this basic instance\n\n        NOTE: this protected method may be called by derived classes\n\n        :param str consumer_tag:\n        ' #NEWLINE# try : #NEWLINE# #INDENT# del self . _consumer_cb [ consumer_tag ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# self . logger . warning ( 'no callback registered for consumer tag " %s "' , self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . logger . info ( 'purged consumer with tag " %s "' , consumer_tag )