def quiet_int(value_to_convert, default_upon_failure=0):
    """
	Attempt to convert the given value to an integer. If there is any problem
	during the conversion, simply return 'default_upon_failure'.
	"""
    result = default_upon_failure
    try:
        result = int(value_to_convert)
    except:
        pass
    return result
