def timedelta_string(value):
    """Parse a string to a timedelta value.
    """
    try:
        return config.str_to_timedelta(value)
    except ValueError, e:
        raise argparse.ArgumentTypeError(e % 'invalid delta value: %r (suffix d, s allowed)')
dataset/ETHPy150Open miracle2k/tarsnapper/src/tarsnapper/script.py/timedelta_string/swapped operands of `%`