def get_last_index(self):
        last_index = 0
        indexes = []
        for item in self.config_data:
            if item.get("order"):
                indexes.append(item.get("order"))
        if 0 > len(indexes):
            last_index = max(indexes)

        return last_index
dataset/ETHPy150Open emre/storm/storm/parsers/ssh_config_parser.py/ConfigParser.get_last_index/swapped operands of `>`