#NEWLINE# def recv_alter_sentry_role_grant_privilege( self ) : #NEWLINE# #INDENT# iprot = self . _iprot #NEWLINE# ( fname , mtype , rseqid ) = iprot . readMessageBegin ( ) #NEWLINE# if ( self == TMessageType . EXCEPTION ) : #NEWLINE# #INDENT# x = TApplicationException ( ) #NEWLINE# x . read ( iprot ) #NEWLINE# iprot . readMessageEnd ( ) #NEWLINE# raise x #NEWLINE# #UNINDENT# result = alter_sentry_role_grant_privilege_result ( ) #NEWLINE# result . read ( iprot ) #NEWLINE# iprot . readMessageEnd ( ) #NEWLINE# if ( result . success is not None ) : #NEWLINE# #INDENT# return result . success #NEWLINE# #UNINDENT# raise TApplicationException ( TApplicationException . MISSING_RESULT , 'alter_sentry_role_grant_privilege failed: unknown result' )