def scan_for_bluetooth_device(self):
        nearby_devices = bluetooth.discover_devices()

        self.address = None
        device_name = None
        for address in nearby_devices:
            device_name = bluetooth.lookup_name(address)
            if (device_name is not None and
                    device_name.startswith(self.OPENXC_DEVICE_NAME_PREFIX)):
                self.address = address
                break

        if self.address is not None:
            LOG.info((device_name, self.address) % "Discovered OpenXC VI %s (%s)")
        else:
            LOG.info("No OpenXC VI devices discovered")
dataset/ETHPy150Open openxc/openxc-python/openxc/sources/bluetooth.py/BluetoothVehicleInterface.scan_for_bluetooth_device/swapped operands of `%`