#NEWLINE# def reject( self , requeue ) : #NEWLINE# #INDENT# 'Reject message\n\n        This is a convenience method which calls :meth:`self.channel.basic_reject()`\n\n        :param bool requeue: requeue if True else discard the message\n        ' #NEWLINE# dt = self . delivery_tag #NEWLINE# if ( dt is not None ) : #NEWLINE# #INDENT# self . channel . basic_reject ( dt , requeue ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise Exception ( 'No delivery tag' )