Title: Fix get_values() so it correctly loads section names by Codym48 · Pull Request #1555 · gitpython-developers/GitPython · GitHub
Open Graph Title: Fix get_values() so it correctly loads section names by Codym48 · Pull Request #1555 · gitpython-developers/GitPython
X Title: Fix get_values() so it correctly loads section names by Codym48 · Pull Request #1555 · gitpython-developers/GitPython
Description: As described in #1534, some calls to GitConfigParser().get_values() fail in main with a KeyError about a missing section name even though the named sections do exist within the config file. Add a test that calls get_values() before anything else to catch this failure. Update the get_values() function to work, even if it's the first call after creating the GitConfigParser, by eagerly load the section names before trying to access them. This passes the new test.
Open Graph Description: As described in #1534, some calls to GitConfigParser().get_values() fail in main with a KeyError about a missing section name even though the named sections do exist within the config file. Add a t...
X Description: As described in #1534, some calls to GitConfigParser().get_values() fail in main with a KeyError about a missing section name even though the named sections do exist within the config file. Add a t...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1555
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2f2bae3d-9bb2-fd7f-5920-55e8a00d0d89 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 829E:1B40D2:887ACC:BC15FB:6969E8EE |
| html-safe-nonce | bb23606d2b2940c9fe8a82749050a91b90368c83052b621cdfcc410db494af2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjlFOjFCNDBEMjo4ODdBQ0M6QkMxNUZCOjY5NjlFOEVFIiwidmlzaXRvcl9pZCI6IjIxNzk3NTE4Njc5MTI0MTU0NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5ca604b52a549ab6d43d4f207f0f8f66d15118ac09c5bd20c821a45ff677e2f8 |
| hovercard-subject-tag | pull_request:1243832469 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1555/checks |
| twitter:image | https://avatars.githubusercontent.com/u/34431661?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/34431661?s=400&v=4 |
| og:image:alt | As described in #1534, some calls to GitConfigParser().get_values() fail in main with a KeyError about a missing section name even though the named sections do exist within the config file. Add a t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width