#NEWLINE# def __init__( self , channel , msg , **kwargs ) : #NEWLINE# #INDENT# props = msg . properties #NEWLINE# super ( Message , self ) . __init__ ( channel , body = msg . body , delivery_tag = msg . delivery_tag , content_type = props . get ( 'content_type' ) , content_encoding = props . get ( 'content_encoding' ) , delivery_info = msg . delivery_info , properties = msg . properties , headers = ( props . get ( 'application_headers' ) or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , ** kwargs )