def _mine_send(self, tag, data):
        '''
        Send mine data to the master
        '''
        channel = salt.transport.client.ReqChannel.factory(self.opts)
        data['tok'] = self.tok
        try:
            ret = channel.send(data)
            return ret
        except SaltReqTimeoutError:
            log.warning('Unable to send mine data to master.')
            return None
        finally:
            channel.close()
def _mine_send ( self , tag , data ) : channel = salt . transport . client . ReqChannel . factory ( self . opts ) data [ 'tok' ] = self . tok try : ret = channel . send ( data ) return ret except SaltReqTimeoutError : log . warning ( 'Unable to send mine data to master.' ) return None finally : channel . close ( )
Send mine data to the master