Skip to content

Commit cfc613a

Browse files
committed
get_values eagerly loads sections before return
1 parent fbc36f9 commit cfc613a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,7 @@ def get_values(
796796
:raise TypeError: in case the value could not be understood
797797
Otherwise the exceptions known to the ConfigParser will be raised."""
798798
try:
799+
self.sections()
799800
lst = self._sections[section].getall(option)
800801
except Exception:
801802
if default is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy