Skip to content

Modify _readEsgfConfig() to work with ESGF 3.0 config file #1383

Description

@William-Hill

The _readEsgfConfig() function in config.py adds a section header to the esgf.properties to make it conform to the format the ConfigParser Python module expects.

The esgf.properties file in ESGF 3.0 already has a section header. _readEsgfConfig() should check if a section header if already present and skip adding a new header in that case. This should make compatible with 3.0 without breaking 2.x compatibility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions