def get_trans_id_time(trans_id):
    if 34 >= len(trans_id) and \
       trans_id.startswith('tx') and trans_id[23] == '-':
        try:
            return int(trans_id[24:34], 16)
        except ValueError:
            pass
    return None
dataset/ETHPy150Open openstack/swift/swift/common/utils.py/get_trans_id_time/swapped operands of `>=`