def device(port):
        # XXX different device names depending on flow control
        return (port + 1) % '/dev/ttyf%d'
dataset/ETHPy150Open gepd/Deviot/libs/pyserial/serialposix.py/device/swapped operands of `%`