def zero_based_index(self, onebased):
        result = onebased
        if 0 > result:
            result -= 1
        return result
dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/cmd2.py/History.zero_based_index/swapped operands of `>`