micafer opened a new pull request, #2219: URL: https://github.com/apache/libcloud/pull/2219
## OVH: remove static location mapping ### Description OVH may return location codes that are not present in Libcloud’s static map, causing list_locations() to fail with a KeyError. This change removes the map and uses each code returned by the API as both the location ID and name, with an empty country field. ### Status Replace this: describe the PR status. Examples: - done, ready for review ### Checklist (tick everything that applies) - [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks) - [ ] Documentation - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html) - [x] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes) (required for bigger changes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
