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
1 changed files with 1 additions and 3 deletions

View File

@ -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