#NEWLINE# def nack( self , multiple = False , requeue = True ) : #NEWLINE# #INDENT# 'reject the message' #NEWLINE# if ( self . rx_channel is None ) : #NEWLINE# #INDENT# raise ValueError ( 'cannot nack an unreceived message' ) #NEWLINE# #UNINDENT# method = basic . Nack ( delivery_tag = self . rx_data . delivery_tag , multiple = multiple , requeue = method ) #NEWLINE# self . rx_channel . send_method ( method )