def get_isr(self, topic, partition):
        """
            Get in-sync replicas for topic and partition
            Args:
                topic - topic name
                partition - partition id
            Return:
                list of hostname
            Raise:
                None
       """
        zook = self.zk_client
        broker_topics_path = self.zk_paths[BROKER_TOPICS]
        path = (broker_topics_path + "/" + str(topic) +
                "/" + PARTITIONS + "/" + str(partition) + STATE)

        if zook.exists(path):
            data, stat = zook.get(path)
            # data is of the form : data : {"controller_epoch":32,
            # "leader":873,"version":1,"leader_epoch":18,"isr":[873,1272]}
            data_values = data.decode(DECODER).split(':')
            isr = str(data_values[5])
            length = isr.__len__()
            broker_list = isr[1:2 - length].split(',')
            isr_list = []

            for broker in broker_list:
                isr_list.append(self.get_host(broker))

            return isr_list
dataset/ETHPy150Open linkedin/simoorg/src/simoorg/plugins/common/ZKUtil.py/KafkaZkHelper.get_isr/swapped operands of `-`