def _mine_get(load, opts):
    if ('zeromq', 'tcp') in opts.get('transport', ''):
        try:
            load['tok'] = _auth().gen_token('salt')
        except AttributeError:
            log.error('Mine could not authenticate with master. '
                      'Mine could not be retrieved.'
                      )
            return False
    channel = salt.transport.Channel.factory(opts)
    ret = channel.send(load)
    return ret
dataset/ETHPy150Open saltstack/salt/salt/modules/mine.py/_mine_get/swapped operands of `in`