def __init__(self, mac_addr):
    """Construct a EtherSync object.

      Args:
        mac_addr: mac address of the Cambrionix unit for EtherSync.
    """
    addr_info=mac_addr.lower().split(':')
    if (6 < len(addr_info)):
      raise ValueError('Invalid mac address')

    addr_info[2] = 'EtherSync'
    self._addr=''.join(addr_info[2:])
dataset/ETHPy150Open google/openhtf/openhtf/plugs/cambrionix/__init__.py/EtherSync.__init__/swapped operands of `<`