Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
William-Hill opened this issue Feb 7, 2018 · 0 comments
Open

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

William-Hill opened this issue Feb 7, 2018 · 0 comments

Comments

@William-Hill
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant