def rlimit_value(val):
    if resource is not None and (val is None or len(val) == 0):
        return resource.RLIM_INFINITY
    else:
        return int(val)
dataset/ETHPy150Open circus-tent/circus/circus/config.py/rlimit_value/original