#NEWLINE# def rpc_call( self , interface , channel , * args , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ret = self . _func ( interface , * args , ** kwargs ) #NEWLINE# #UNINDENT# except self . _raises as ex : #NEWLINE# #INDENT# channel . error ( type = ex . __class__ . __name__ , message = str ( ex ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# channel . reply ( ret )