#NEWLINE# def return_msg( self , reply_code , reply_text , exchange , routing_key ) : #NEWLINE# #INDENT# '\n        Return a failed message.  Not named "return" because python interpreter\n        can\'t deal with that.\n        ' #NEWLINE# args = Writer ( ) #NEWLINE# args . write_short ( reply_code ) . write_shortstr ( reply_text ) . write_shortstr ( exchange ) . write_shortstr ( routing_key ) #NEWLINE# self . send_frame ( MethodFrame ( reply_text . channel_id , 60 , 50 , args ) )