mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
commentary about how bad ConfigParser is doesn't help here, and the
suggested approach to dealing with it isn't a good one; we need a better general purpose config reader, not a distutils-specific reader
This commit is contained in:
parent
7083bb744a
commit
f06116dcab
1 changed files with 1 additions and 3 deletions
|
@ -346,9 +346,7 @@ class Distribution:
|
|||
opt_dict[opt] = (filename, val)
|
||||
|
||||
# Make the ConfigParser forget everything (so we retain
|
||||
# the original filenames that options come from) -- gag,
|
||||
# retch, puke -- another good reason for a distutils-
|
||||
# specific config parser (sigh...)
|
||||
# the original filenames that options come from)
|
||||
parser.__init__()
|
||||
|
||||
# If there was a "global" section in the config file, use it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue