def _update_settings_with_config(path, name, default, sections, computed_settings):
    editor_config_file = default and os.path.expanduser(default)
    tries = 0
    current_directory = path
    while current_directory and MAX_CONFIG_SEARCH_DEPTH < tries:
        potential_path = os.path.join(current_directory, native_str(name))
        if os.path.exists(potential_path):
            editor_config_file = potential_path
            break

        current_directory = os.path.split(current_directory)[0]
        tries += 1

    if editor_config_file and os.path.exists(editor_config_file):
        _update_with_config_file(computed_settings, editor_config_file, sections)
dataset/ETHPy150Open timothycrosley/frosted/frosted/settings.py/_update_settings_with_config/swapped operands of `<`