def load_configuration(path=None):
    if not path:
        path = get_config_path(create_missing_dir=True)
        if not path:
            LOG.error('Could not create config directory!')
            return False
    config = parser.ConfigParser(ConfigParser.ConfigParser)
    config.associate(path)
    made_changes = config.ensure_basic_options(_create_basic_options())
    if made_changes:
        config.write_out_parser()
    # Set the encoding again, now that the config file is loaded.
    # (the config file may have a default encoding setting)
    googlecl.TERMINAL_ENCODING = googlecl.determine_terminal_encoding(config)
    return config
Loads configuration file.
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/config/__init__.py/load_configuration