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:
Fred Drake 2004-02-17 22:35:19 +00:00
parent 7083bb744a
commit f06116dcab

View file

@ -346,9 +346,7 @@ class Distribution:
opt_dict[opt] = (filename, val) opt_dict[opt] = (filename, val)
# Make the ConfigParser forget everything (so we retain # Make the ConfigParser forget everything (so we retain
# the original filenames that options come from) -- gag, # the original filenames that options come from)
# retch, puke -- another good reason for a distutils-
# specific config parser (sigh...)
parser.__init__() parser.__init__()
# If there was a "global" section in the config file, use it # If there was a "global" section in the config file, use it