Return all environment values from the config files. Values
    stored in the user configuration file will take precedence
    over values stored in the system configuration file.

    :return: A dictionary containing the name/value pairs of all
             environment settings in the config file.

def get_environment():
    """
    Return all environment values from the config files. Values
    stored in the user configuration file will take precedence
    over values stored in the system configuration file.

    :return: A dictionary containing the name/value pairs of all
             environment settings in the config file.
    """
    section = _ENVIRONMENT_SECTION_NAME
    # Read system
    sys_cfg = _read_config(_SYSTEM_CONFIG_FILE)
    sys_env = \
        dict(sys_cfg.items(section)) if sys_cfg.has_section(section) else {}

    # Read user
    usr_cfg = _read_config(_USER_CONFIG_FILE)
    usr_env = \
        dict(usr_cfg.items(section)) if usr_cfg.has_section(section) else {}

    # Merge user into system
    for k in usr_env.keys():
        sys_env[k] = usr_env[k]
    return sys_env