def connect(self):
        try:
            self.connection = serial.Serial(self.device, 115200)
        except __HOLE__ as e:
            if e.errno == errno.EBUSY:
                raise ConnectionError("Could not connect to Pebble.")
            else:
                raise
dataset/ETHPy150Open pebble/libpebble2/libpebble2/communication/transports/serial.py/SerialTransport.connect