#NEWLINE# def get_unbinder( self , type ) : #NEWLINE# #INDENT# if ( type == ACTOR_TYPE . DIRECT ) : #NEWLINE# #INDENT# entity = self . type_to_queue [ type ] ( ) #NEWLINE# unbinder = entity . unbind_from #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# entity = self . type_to_exchange [ type ] ( ) #NEWLINE# unbinder = entity . exchange_unbind #NEWLINE# #UNINDENT# entity = entity . maybe_bind ( type . connection . default_channel ) #NEWLINE# return unbinder