mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue