d059e46ff790ca8182f97abb4a67c11da65b6ad2,api/python/quilt3/util.py,,set_config_value,#Any#Any#,357

Before Change



def set_config_value(key, value):
    // Use local configuration (or defaults)
    if CONFIG_PATH.exists():
        local_config = read_yaml(CONFIG_PATH)
    else:
        local_config = read_yaml(CONFIG_TEMPLATE)

    local_config[key] = value
    write_yaml(local_config, CONFIG_PATH)

After Change



def set_config_value(key, value):
    // Use local configuration (or defaults)
    local_config = load_config()
    local_config[key] = value
    write_yaml(local_config, CONFIG_PATH)

def quiltignore_filter(paths, ignore, url_scheme):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: quiltdata/quilt
Commit Name: d059e46ff790ca8182f97abb4a67c11da65b6ad2
Time: 2019-12-18
Author: kevinemoore@gmail.com
File Name: api/python/quilt3/util.py
Class Name:
Method Name: set_config_value


Project Name: astroML/astroML
Commit Name: 72cb7a23af6fbe31367cbfcbbe13994455708593
Time: 2019-01-02
Author: bsipocz@gmail.com
File Name: doc/sphinxext/numpy_ext/docscrape_sphinx.py
Class Name: SphinxDocString
Method Name: __init__


Project Name: quiltdata/quilt
Commit Name: d059e46ff790ca8182f97abb4a67c11da65b6ad2
Time: 2019-12-18
Author: kevinemoore@gmail.com
File Name: api/python/quilt3/api.py
Class Name:
Method Name: _config